]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Enable LyX to start up under Cygwin.
[lyx.git] / src / ChangeLog
1 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxlength.C (asLatexString): get rid of setprecision
4
5 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * text2.C (setLayout): remove unused variable endpit.
8         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
9
10         * paragraph.C (onlyText): remove unused variable style.
11
12         * cursor.C (bruteFind): remove unused variables beg and end.
13
14         * Makefile.am (dist_noinset_DATA): not needed anymore
15
16         * cheaders/*: remove.
17
18 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
19
20         * text3.C: fix LFUN_MATH_MODE.
21
22 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * buffer_funcs.C (countWords): new function. Counts words between
25         two iterators.
26
27         * BufferView_pimpl.C (getStatus, dispatch): handle
28         LFUN_WORDS_COUNT.
29
30         * LyXAction.C (init): 
31         * lfuns.h: add LFUN_WORDS_COUNT.
32
33 2004-12-19  Angus Leeming  <leeming@lyx.org>
34
35         * buffer.C (save): s/slashify_path/internal_path/.
36
37 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
38
39         * lyxfind.C (findChange): do not search for end of pars, because
40         the change tracker cannot handle this (fixes bug 1719).
41
42 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
43
44         * paragraph.[Ch] (autoBreakRows): remove
45
46         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
47
48         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
49         avoid using the paragraph one
50
51         * text2.C (LyXText, insertStringAsLines): adjust
52         
53 2004-12-16  Angus Leeming  <leeming@lyx.org>
54
55         * bufferlist.C:
56         * lyx_main.C: 
57         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
58
59 2004-12-14  Angus Leeming  <leeming@lyx.org>
60
61         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
62
63         * bufferlist.C (emergencyWrite):
64         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
65         GetEnvPath("HOME").
66
67 2004-12-14  Angus Leeming  <leeming@lyx.org>
68
69         * main.C: (main): no longer pass pointers to os::init.
70
71 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
72
73         * undo.C (textUndoOrRedo): simplify logic, fix a crash
74         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
75
76 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
77
78         * lyxfunc.C: 
79         * text3.C: remove selection_possible global flag
80
81 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
82
83         * text2.C (getSelectionSpan): remove
84         (changeDepth, changeDepthAllowed): adjust
85
86 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
87
88         * Makefile.am (BOOST_LIBS): use boost variables
89
90 2004-12-03  José Matos <jamatos@lyx.org>
91
92         * buffer.C: format up to 238.
93
94 2004-12-03  José Matos  <jamatos@lyx.org>
95
96         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
97
98 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
99
100         * cursor.C (goUpDown): remove call to idxUpDown2
101
102 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * tabular.[Ch]: use size_t-like types for cell, row and column
105         indices
106
107 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
108
109         * lyxfunc.C (getStatus): do not lose previous information when
110         calling BufferView::getStatus; do not set a default "Command
111         disabled" message at the beginning, but just before returning.
112
113 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
114
115         * cursor.h (getStatus): add better comment from src/cursor.C
116
117 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * text3.C (getStatus): return false when the lfun is not handled
120
121 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
122
123         * broken_headers.h: remove
124
125         * Makefile.am (lyx_SOURCES): remove broken_headers.h
126
127 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
128
129         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
130         offset_ref accessors
131
132         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
133         top_y_, merge fitcursor with update
134         (updateScrollbar, scrollDocView, fitCursor, center, update): new
135         coord scheme
136         (metrics): introduce
137         (workAreaDispatch): adapt to new coord scheme
138         (redoCurrentBuffer): remove
139
140         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
141
142         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
143         CurStatus enum.
144
145         * coordcache.[Ch]: add paragraph cache and helpers
146
147         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
148         adjust everywhere
149
150         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
151         (targetX, setTargetX): introduce
152
153         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
154         baseline -> ascent, as the rest of lyx
155
156         * lyxtext.h: remove redoParagraphs, updateParPositions,
157         fullRebreak, redoParagraphInternal. move dist to anon namespace in
158         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
159         have ascent/descent (ascent is ascent of first par)
160
161         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
162         step of BufferView
163
164         * paragraph.[Ch]: unify dimension handling with the rest of lyx
165
166         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
167
168         * pariterator.C: fix infinite loop introduced in par->pit renaming
169
170         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
171         in insets and LyXText, draw two off-screen paragraphs using
172         NullPainter, and adapt to new coord scheme
173
174         * text.C:
175         * text2.C:
176         * text3.C: adapt lfun handlers to the new coord scheme, which
177         means: there's only guaranteed coord information for onscreen pars
178         plus one above and one below. This implies that one can do search
179         from y coordinates in the range [-1,workHeight]
180
181 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
182
183         * rename a lot of InsetOld to InsetBase
184
185 2004-11-25  Angus Leeming  <leeming@lyx.org>
186
187         * BufferView_pimpl.C:
188         * lyx_cb.C:
189         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
190
191 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
194         call BufferView::getStatus if LCursor::getStatus did nothing
195         (setStatusMessage, getStatusMessage): removed.
196
197         * FuncStatus.C (message): new methods. Used to provide an error
198         message indicating why a command is disabled.
199         (clear, |=, FuncStatus): update for message.
200
201 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
202
203         * lyxfunc.C (dispatch): always call sendDispatchMessage
204
205 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
206
207         * BufferView.C:
208         * BufferView_pimpl.C:
209         * CutAndPaste.C:
210         * FontIterator.C:
211         * buffer.C:
212         * cursor.C:
213         * cursor_slice.[Ch]:
214         * dociterator.[Ch]:
215         * lyxfind.C:
216         * paragraph_funcs.C:
217         * pariterator.C:
218         * rowpainter.C:
219         * text.C:
220         * text2.C:
221         * text3.C:
222         * undo.C: par->pit renaming
223
224 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
225
226         * tabular.C (cellstruct): use initialization, store a shared_ptr
227         to insettext instead of the insettext directly, adjust to fit.
228         (operator=):  new function
229         (swap): new function
230         (rowstruct): use initialization
231         (columnstruct): use initialization
232         (ltType): use initialization
233
234
235         * lyxlength.h (swap): new function
236
237         * LColor.[Ch] (operator=): use the common semantics
238
239 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * lyxfind.C (findNextChange): update the bufferview after setting
242         the selection.
243
244 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
247         number of InsetOptArgs has already been inserted.
248
249         * output_latex.C (latexOptArgInsets): new method. This outputs all
250         the optarg insets, up to the limit defined in the layout file.
251         (optArgInset): removed
252         (TeXOnePar): call latexOptArgInsets; correctly update texrow
253
254 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
255
256         * paragraph.C (isLetter): remove special spellchecker-related
257         code; return true also for digits
258         (isWord, isKomma): remove
259
260         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
261         * lyxfind.C (MatchString()): use isLetter instead of isWord
262
263 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
264
265         * pariterator.h (operatir=): comment out un-implemented member
266         function.
267
268         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
269         static cast.
270
271 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
272
273         * lyxfont.h: include LColor.h to satisfy concept checks.
274
275 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
276
277         * pariterator.h: add typdefs for value_type, difference_type,
278         pointer and reference to satisfy concept checks. Also add default
279         constructor for same reason.
280
281         * pariterator.C (operator++): add post-increment operator to
282         satisfy concept checks.
283
284         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
285         checks.
286
287         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
288
289         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
290         checks. Also rename base_type to BaseType to follow naming
291         standard better.
292
293         * FloatList.h: include Floating.h to satisfy concept checks.
294
295 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
296
297         * lyxfunc.C (getStatus): when the origin of the request is menu or
298         toolbar, and the LyXView does not have focus, do as if there was
299         no buffer (bug 1720)
300
301         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
302         FuncRequest to individual entries of LFUN_SEQUENCE
303
304 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
305
306         * output_latex.C (TeXOnePar): override runparams.moving_arg
307         according to the needprotect value of the current paragraph (bug
308         1739)
309
310         * paragraph.C (simpleTeXOnePar): no need to override
311         runparams.moving_args here
312
313 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
314
315         * vspace.C: fix off-by-one-error, related to fix #1682
316
317 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * lengthcommon.C: a more general fix for bug 1682
320
321 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
322
323         * text.C (backspace): fix crash
324
325 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
326
327         * format.[Ch] (getFormatFromFile): new method
328         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
329
330 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
333
334 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * lyxfunc.C (dispatch): remove the verbose argument
337         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
338         instead
339
340         * kbmap.C (defkey): set the origin of func to KEYBOARD
341
342         * MenuBackend.C (MenuItem):
343         * ToolbarBackend.C (add): set the origin of func to UI
344
345         * funcrequest.[Ch]: add origin member, which indicates which part
346         of LyX requests an action
347
348 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
349
350         * converter.C (move): don't lie in the error message
351         * converter.h (isReachable, move): document
352
353 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
354
355         * buffer.C: remove unused using lyx::support::atoi
356         * paragraph_funcs.C: ditto
357
358 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
359
360         * bufferlist.C (exists): use bind and equal_to instead of
361         compare_memfun
362         (getBuffer): ditto
363         * lyxtextclasslist.C (NumberOfClass): ditto
364
365         * cursor.C (insert): use for_each instead of explicit for loop
366
367         * bufferlist.C (getFileNames): use std::transform and
368         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
369
370         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
371         for loop
372
373         * buffer.C (changeLanguage): use for_each instead of explicit for
374         loop
375         (hasParWithID): implement using getParFromID
376
377         * LaTeXFeatures.C: ws change only
378
379         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
380         to cleanup a bit.
381
382         * BufferView_pimpl.C (trackChanges): use for_each instead of
383         expilicit for loop
384
385 2004-11-04  André Pönitz  <poenitz@gmx.net>
386
387         * undo.h:
388         * undo.C (textUndoOrRedo): fix crash when creating undo information.
389
390         * dociterator.C (asDocIterator): use hard assert again.
391
392 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * lyxlength.C (asLatexString): rewrite so that it does not use
395         snprintf anymore
396
397 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * text3.C (specialChar, dispatch): make sure cursor moves to the
400         right after inserting an inset
401
402 2004-11-02  José Matos  <jamatos@lyx.org>
403
404         * output_docbook.C (docbook):
405         * paragraph.C (getID):
406         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
407         garantee that the output is always legal.
408
409         * tabular.C (docbook):
410         * outputprams.[Ch]: remove mixed contents.
411
412 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
413
414         * text2.C (setCounter): prevent endless loop
415
416 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
417
418         * exporter.C (copyFile): use the mover instead of support::copy()
419         * exporter.C (Export): pass format and latex name to copyFile()
420         * exporter.h (addExternalFile): document
421         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
422
423 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
424
425         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
426
427 2004-10-30  José Matos  <jamatos@lyx.org>
428
429         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
430         text and no inset or font change. This allows to use CDATA
431         sections just for the whole paragraph.
432
433 2004-10-30  José Matos  <jamatos@lyx.org>
434
435         * paragraph.C (getFirstWord): remove unused variable.
436
437 2004-10-30  José Matos  <jamatos@lyx.org>
438
439         * paragraph.C (getFirstWord): the content should always be escaped
440         there.
441         (simpleDocBookOnePar):
442         * output_docbook.C (makeEnvironment): replace reference to CDATA
443         to style pass_thru.
444
445 2004-10-30  José Matos  <jamatos@lyx.org>
446
447         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
448
449 2004-10-30  José Matos  <jamatos@lyx.org>
450
451         * output_docbook.C (makeParagraphs):
452         * paragraph.[Ch] (emptyTag): for docbook and company, if the
453         standard paragraph has only a given type of content drop the wrapper.
454
455 2004-10-29  José Matos  <jamatos@lyx.org>
456
457         * output_docbook.C (makeEnvironment):
458         * sgml.C (openTag):
459         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
460
461 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
462
463         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
464         (cleanID): sanitize any id.
465
466 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
467
468         * buffer.C, lyxlex_pimpl.C:
469         * lyxlex_pimpl.C (setFile):
470         s/getExtFromContents/getFormatFromContents/
471
472 2004-10-28  José Matos  <jamatos@lyx.org>
473
474         * output_docbook.C (makeEnvironment): move id to broadest possible
475         scope.
476
477         * sgml.C (openTag): apply substitution of <> for all attributes.
478
479 2004-10-28  José Matos  <jamatos@lyx.org>
480
481         * buffer.C (makeLinuxDocFile, makeDocBookFile):
482         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
483         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
484
485         * sgml.[Ch]: new version for open and closeTag for paragraph and
486         for strings. Now they handle the ids of paragraphs.
487
488 2004-10-26  Angus Leeming  <leeming@lyx.org>
489
490         * Makefile.am: add mover.[Ch].
491
492         * converter.C (convert, move): use the new Movers to move external
493         files to the temp directory.
494
495         * lyx_main.C (init): ensure that the global system_movers data
496         is initialised.
497
498         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
499         preferences file.
500
501         * mover.[Ch]: new files, defining a Mover as a utility to move an
502         external file between directories and, if necessary, manipulate this
503         file using a helper script.
504
505 2004-10-25  José Matos  <jamatos@lyx.org>
506
507         * output_docbook.C (makeCommand): merge two if's that tested the
508         same condition.
509
510 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
511
512         * sgml.C (escapeString): fix warning in a better way
513
514 2004-10-25  José Matos  <jamatos@lyx.org>
515
516         * sgml.C (escapeString): import the require boosts header file for
517         tie, and avoid a signed unsigned comparison.
518
519 2004-10-25  José Matos  <jamatos@lyx.org>
520
521         * sgml.h: add #include <string>
522
523 2004-10-25  José Matos  <jamatos@lyx.org>
524
525         * sgml.[Ch] (escapeString): new function to escape all the string.
526
527 2004-10-24  José Matos  <jamatos@lyx.org>
528
529         * paragraph.[Ch] (getFirstWord): new function to get the first
530         word. Useful for description.
531         (simpleDocBookOnePar): remove depth argument, add another that
532         says where to start the paragraph.
533
534         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
535         use the new functions to fix cleanly the support for descriptions.
536
537 2004-10-24  José Matos  <jamatos@lyx.org>
538
539         * buffer.C (makeLinuxDocFile, makeDocBookFile):
540         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
541         * output_linuxdoc.C (linuxdocParagraphs):
542         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
543         add buffer as argument.
544
545 2004-10-24  José Matos  <jamatos@lyx.org>
546
547         * output_docbook.C (makeEnvironment, searchEnvironment): place
548         CDATA inside paragraphs and fix scope for listitems.
549
550 2004-10-24  José Matos  <jamatos@lyx.org>
551
552         * output_docbook.C: remove using statement for stack.
553
554 2004-10-23  José Matos  <jamatos@lyx.org>
555
556         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
557         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
558         docbook. The new scheme is recursive and makes use of iterators, the
559         same as latex export works.
560         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
561         directly with the paragraph contents. This code was moved up to
562         output_docbook.C (docbookParagraphs).
563         * sgml.C (openTag, closeTag): removed unneeded newlines.
564         (closeEnvTags) removed.
565
566 2004-10-23  André Pönitz  <poenitz@gmx.net>
567
568         * undo.C (textUndoOrRedo):
569         * dociterator.C (asDocIterator): work around crash
570
571         * cursor.C (getStatus): replace ASSERT by more verbose error message
572           and manual correction of the problem. Should increase stability
573           while providing more sensible information.
574
575 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
576
577         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
578
579         * bufferlist.C (previous, next): new methods
580
581         * lfuns.h:
582         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
583
584 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
585
586         * buffer.C (makeDocBookFile): add dsssl stylesheet control
587         entities to preamble.
588
589 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
590
591         * messages.C (Pimpl): strip off translation context information
592
593 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
596         the cursor is correct (bug 1694)
597
598 2004-10-13  José Matos  <jamatos@lyx.org>
599
600         * output_docbook.C (docbookParagraphs): fix closing tags in the
601         end of the document.
602
603 2004-10-09  José Matos  <jamatos@lyx.org>
604
605         * buffer.C: format up to 237.
606         * bufferparams.C (write): use tostr to convert booleans to strings.
607
608 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
611
612 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
613
614         * LaTeX.C: implement use of babel language in xindy.
615
616 2004-10-05  José Matos  <jamatos@lyx.org>
617
618         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
619         Add new translators to help reading and writing the lyx file.
620
621 2004-10-05  José Matos  <jamatos@lyx.org>
622
623         * ParagraphParameters.C (read):
624         * text.C (readParToken): replace nexToken by more appropriate lex
625         methods.
626
627 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
628
629         * LaTeX.C (runMakeIndex):
630         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
631         (usually 'makeindex') configurable.
632
633         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
634         with a variable rather than with a number.
635
636 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
637
638         * output_latex.C (TeXOnePar): make sure font setting is the first
639         thing that gets output (and the last at the end). Should fix bug
640         1404.
641
642 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
643
644         * pch.h: use proper signal include
645
646         * LaTeX.h: Use preferred calling of Boost.Signal
647         * buffer.h: ditto
648
649 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
650
651         * pch.h: dont include <boost/function/function0.hpp>
652
653         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
654
655         * paragraph_pimpl.h: remove usage of ShareContainer
656
657         * paragraph_pimpl.C: remove initialization of ShareContainer.
658
659 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         Fix bug #1666
662
663         * BufferView.C (putSelectionAt): change the semantics when
664         backwards == true: now, this just swaps cursor and anchor wrt the
665         forward case
666
667         * BufferView.h (putSelectionAt): add some documentation
668
669         * lyxfind.C (findBackwards): rewrite using while(). In particular,
670         make sure backwardChar is done at least once (to avoid getting
671         stuck)
672         (findNextChange): use putSelectionAt in the forward direction
673         (operator()): use Paragraph::isWord
674
675 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
676
677         * Spacing.C (set): c_str fix
678
679 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * lyx_cb.C (Reconfigure): quote the name of configure script in
682         case it contains spaces
683
684 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
685
686         * client: new dir
687
688         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
689         (BOOST_LIBS): use top_buildir when looking for the file
690
691 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
692
693         * pch.h: do not use include boost/format.hpp, multiple symbols
694                 will result (gcc bug)
695
696
697 2004-08-23  José Matos  <jamatos@lyx.org>
698
699         * bufferparams.C (readToken): fix reading of the author field.
700
701 2004-08-20  José Matos  <jamatos@lyx.org>
702
703         * lyxrc.C: remove support/translator.h inclusion since it is not used.
704
705 2004-08-20  José Matos  <jamatos@lyx.org>
706
707         * lyxlex.[Ch] (findToken): remove function.
708
709         * ParagraphParameters.C (findToken):
710         * bufferparams.C (findToken): replace call for previous function
711         with local copy. This local function has one more argument, the
712         read string argument.
713
714 2004-08-16  José Matos  <jamatos@lyx.org>
715
716         * ParagraphParameters.C (write):
717         * Spacing.C (writeFile):
718         * bufferparams.C (writeLaTeX):
719         * lyx_cb.C (Reconfigure):
720         * paragraph.C (write):
721         * tabular.C (write): remove unnecessary space at end of line.
722
723
724 2004-08-16  José Matos  <jamatos@lyx.org>
725
726         * text.C (readParagraph): remove debug message.
727
728 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
731         crash
732
733         * output_plaintext.C (asciiParagraph): set depth correctly
734
735         * outputparams.h: add member depth
736
737         * paragraph_funcs.C (ownerPar): remove.
738
739         * text2.C (setCounter): remove first_pit; comment out some
740         non-working code that uses ownerPar
741
742         * BufferView.C (getParentLanguage): remove. Not used anymore, and
743         uses ownerPar
744
745 2004-08-16  José Matos  <jamatos@lyx.org>
746
747         * text.C (readParToken, readParagraph, read): report all unknown tokens.
748         For the same level of importance use the same chanel to report problems.
749         (read): add code to deal with \begin_body and \end_body.
750
751
752 2004-08-15  José Matos  <jamatos@lyx.org>
753
754         * lyxlex.C (getString): fix comment, buffer::readBody is now
755         buffer:readDocument.
756
757         * tex-strings.C (string_papersize): Default -> default,
758         Custom -> custom, for consistency with other options.
759
760 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
761
762         * pch.h: new file
763
764         * Makefile.am: support pch
765
766 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
767
768         * text.C (readParToken): remove the static LyXFont variable and
769         pass it as a parameter instead. This fixes a nasty bug where an
770         inset will be inserted with a bad font in some situations
771         (readParagraph): adapt
772
773         * text2.C (setCounter): reduce number of calls to pars_[pit]
774
775         * text.C (singleWidth): add an assert, fix a test
776
777         * rowpainter.C (paintText): reduce number of calls to singleWidth
778
779         * paragraph.C (isHfill):
780         (isNewline): ws only
781
782 2004-08-14  André Pönitz  <poenitz@gmx.net>
783
784         * text.C:
785         * text2.C:
786         * rowpainter.C:
787         * lyxtext.h (several functions): use a Paragraph & argument
788         instead of par_type
789
790 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * metricsinfo.h: add a new field ltr_pos to PainterInfo
793
794         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
795
796         * text.C (singleWidth): remove useless test
797
798 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
799
800         * tabular.h: remove bogus comments
801
802         * tabular.C (getDescentOfRow):
803         (isPartOfMultiColumn): add assertions
804
805         * lyxlength.C (inPixels): remove #warning
806
807 2004-08-14  André Pönitz  <poenitz@gmx.net>
808
809         * paragraph.h: inline getChar()
810
811         * BufferView.h: remove unused declarations
812
813 2004-08-14  José Matos  <jamatos@lyx.org>
814
815         * Buffer.[Ch] (readDocument): new name for old readBody.
816         * Buffer.C: new file format, new keywords: \begin_document,
817         \begin_header, \begin_body, \end_body.
818
819         * bufferparams.C (readToken): replace all calls to lex.nextToken
820         by lex.next(). Do the same to eatLine except where really needed.
821
822         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
823         line when writing to the lyx file.
824
825         * output_plaintext.C (asciiParagraph): fix Bibliography style
826         handling.
827
828         * text.C (read): fix end of file handling.
829
830 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * MenuBackend.C (Menu::operator[]): new method to access
833         individual menu items
834         (Menu::hasFunc): new method. search for an item that corresponds
835         to a given func
836         (MenuBackend::specialMenu): new method
837         (MenuBackend::expand): if a special menu has been set, skip
838         entries whose func() appears in this menu
839
840 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
841
842         * text3.C: use Debug::DEBUG a bit more
843
844         * text.C (leftMargin): try to simplify a tiny bit change var x to
845         l_margin. Dont output the wide margins always.
846         (rightMargin): no margin in inner texts
847
848         * rowpainter.h (nestMargin): new func
849         (changebarMargin): new func
850         (rightMargin): new func
851
852         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
853         now functions.
854         (paintLast): ditto
855
856         * factory.C (createInset): modify setDrawFrame
857
858         * cursor.C: use Debug::DEBUG a bit more
859
860 2004-08-14  André Pönitz  <poenitz@gmx.net>
861
862         * coordcache.[Ch]:
863         * Makefile.am: new files to accomodate an 'external' (x,y)-position
864         cache for all insets in (at least partially) visible (top-level)
865         paragraphs.
866
867         * BufferView_pimpl.C: reset external coord cache before every update.
868         This means the coord cache only contains valid entries.
869
870 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
871
872         bug 1096
873         * BufferView_pimpl.C (getInsetByCode): move function out of class
874         and change in to a template in anon namespace. Also fix to do what
875         suits us better.
876
877 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
878
879         bug 1305
880         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
881         of char
882         (breakParagraph): rename par to par_offset and use a local
883         reference. Add code to keep the language over a rebreak.
884         (breakParagraphConservative): rename par to par_offset, use a
885         local reference
886         (mergeParagraph): ditto
887         (outerHook): ditto
888         (isFirstInSequence): ditto
889         (outerFont): rename pit to par_offset
890
891         * paragraph.C: ws change
892         * paragraph.h: ditto
893         * text3.C: ditto
894         * text.C: ditto
895
896 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
897
898         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
899         treatment for ']'
900
901         * paragraph.C (simpleTeXOnePar): when we have a \item with
902         optional argument, enclose the argument with curly brackets (in
903         case it contains a closing square bracket)
904
905         * text2.C (editXY):
906         * text2.C (editXY):
907         * text3.C (checkInsetHit): constify
908
909 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
910
911         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
912         documents (bug 1629)
913
914 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         Fix toggling of collapsable insets with the mouse (bug 1558)
917
918         * lyxfunc.C (dispatch): adapt to LCursor changes
919
920         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
921         make sure that dispatch is not invoked twice
922
923         * cursor.C (needsUpdate): new method
924         (dispatch): return void
925         (result): new method, to access the DispatchResult of the cursor.
926
927 2004-08-13  José Matos  <jamatos@lyx.org>
928
929         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
930
931 2004-08-13  André Pönitz  <poenitz@gmx.net>
932
933         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
934
935         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
936           multiple cells
937
938 2004-08-12  André Pönitz  <poenitz@gmx.net>
939
940         * text3.C: take out the 'cursor right' form insertInset and only
941         do it in those places when it is really needed. Fixes crash on
942         C-m...
943
944 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
947
948         * BufferView_pimpl.C (setBuffer): initialize the current font of
949         the underlying LyXText
950
951 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
952
953         * kbsequence.C (print): use UI native formatting for menu
954         shortcuts
955
956         * text.C (insertChar): call Paragraph::insertChar with a font
957         argument (cosmetic)
958
959         * paragraph.C (insertInset, insertChar): the version that takes a
960         LyXFont argument is now a wrapper around the other one (the
961         opposite used to be true).
962
963         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
964         argument. Font setting is done in Paragraph now.
965
966 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
967
968         * outputparams.h: add new members intitle and lang.
969
970         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
971         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
972
973 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
974
975         * text3.C (dispatch): remove special handling of button 4 and 5,
976         it is now taken care of in the frontend code.
977
978 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
979
980         * Spacing.h: add <string> (STLPort compile fix)
981
982 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
983
984         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
985
986 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
987
988         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
989         to bool.
990
991         * converter.C (showMessage): inherit from unary_function, make
992         operator() const.
993
994         * buffer.C (writeFile): initialize retval
995
996         * InsetList.h: rename private variable list to list_
997         * InsetList.[Ch]: adjust accordingly.
998
999 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1000
1001         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1002         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1003         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1004         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1005         * ParagraphParameters.C, LaTeXFeatures.C: replace
1006         "support/std_sstream.h" with <sstream>
1007
1008 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1009
1010         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1011         * lyxsocket.C (LyXServerSocket): ditto
1012         (serverCallback): ditto
1013
1014 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1015
1016         * LaTeXFeatures.C: check release date when loading jurabib.
1017
1018 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1019
1020         * lyxserver.C (startPipe): call register_socket_callback
1021         (endPipe): call unregister_socket_callback
1022
1023 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1024
1025         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1026         (LyXServerSocket): register the callback
1027         (LyXServerSocket): unregister the callback
1028         (fd): delete function
1029         (serverCallback): improve error checking and setup the callbacks.
1030         (dataCallback): change arg to fd.
1031         (writeln): new func (copied fro the client socket) used for server
1032         write to client.
1033         (LyXDataSocket): simplify
1034         (~LyXDataSocket): close ann unregiser callback
1035         (server): delete function
1036         (fd): delete function
1037         (readln): small changes, improve some std::string usage
1038         (writeln): constify a bit
1039
1040 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1041
1042         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1043         Qt frontend
1044
1045 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1048         after it has been populated
1049
1050 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * text2.C (insertInset): move cursor when inserting inset.
1053
1054 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * kbmap.C (findbindings): a couple of new methods. returns a
1057         container of kb_sequence objects. The real work is done by the
1058         private recursive version
1059         (printbindings): uses findbindings to print out a bracketed list
1060         of bindings (renamed from findbinding).
1061
1062         * MenuBackend.C (binding): use kb_keymap::findbindings
1063
1064         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1065
1066 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1067
1068         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1069
1070 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * paragraph.C (isWord): return true on insets that report
1073         isLetter().
1074
1075         * text.C (getWord): use Paragraph::isWord to decide what is in a
1076         word and what is not; fix bug 1609.
1077
1078 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1079
1080         * tex-strings.C: add "none" to string_paperpackages[], fixes
1081         off-by-one-error in the paperpackage selection.
1082
1083         * lyxlex.[Ch]:
1084         * tex-strings.[Ch]: char const * string[n]
1085         -> char const * const string[]
1086
1087 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1090         command, return early.
1091
1092 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1093
1094         * debug.h: add DEBUG to enum and fix size of ANY.
1095
1096         * debug.C: add support for Debug::DEBUG
1097         (showTags): cast errorTags.level to unsigned int
1098
1099         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1100         (redoCurrentBuffer): ditto
1101         (updateScrollbar): ditto
1102         * cursor.C (dispatch): ditto
1103         * text2.C (setLayout): ditto
1104         (setFont): ditto
1105         (updateCounters): ditto
1106         (editXY): ditto
1107         (deleteEmptyParagraphMechanism): ditto
1108
1109 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1110
1111         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1112         annotations to cleanup the Makefile slightly.
1113
1114 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1115
1116         * lyxrc.C: do not set user_email to a default value but use empty
1117         instead. The entry used to be translated, which does not work
1118         since at the point where lyxrc is constructed there is no
1119         translation service available
1120
1121         * messages.C (getLocaleDir): remove and use directly
1122         lyx_localedir() instead
1123
1124 2004-06-02  Angus Leeming  <leeming@lyx.org>
1125
1126         Fix crash caused by dereferencing null pointer 'exportdata' in
1127         OutputParams by creating a new ExportData variable on the heap,
1128         storing it in a boost::shared_ptr.
1129         The crash was triggered when generating an Instant Preview
1130         of an external inset.
1131
1132         * Makefile.am: add outputparams.C
1133
1134         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1135         (c-tor): allocate memory to it.
1136
1137         * exporter.C (c-tor): associated changes.
1138
1139 2004-06-01  Angus Leeming  <leeming@lyx.org>
1140
1141         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1142         contains data before calling isInset(0). (Bug 1513.)
1143
1144 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * exporter.C (checkOverwrite): new method
1147         * exporter.C (copyFile): new method
1148         * exporter.C (Export): copy referenced files to the document dir
1149         * exporter.[Ch]: new class ExportedFile
1150         * exporter.[Ch]: new class ExportData. Contains currently the
1151         names of referenced external files
1152         * outputparams.h: add exportdata member.
1153
1154 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1155
1156         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1157         version.C-tmp
1158
1159 2004-05-19  Angus Leeming  <leeming@lyx.org>
1160
1161         * LaTeXFeatures.C:
1162         * ToolbarBackend.C:
1163         * bufferparams.C:
1164         * lyxfunc.C: small changes due to the introduction of namespace
1165         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1166
1167 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * text3.C (dispatch): supress update when only moving the cursor
1170         * cursor.C (selHandle): remove commented code
1171
1172 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1173
1174         * paragraph.C (startTeXParParams): correct column count
1175         * CutAndPaste.C (pasteSelection): remove const_cast
1176         * output_docbook.C (docbookParagraphs): remove const_cast
1177         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1178         const_cast and return ParagraphList::const_iterator
1179         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1180         * output_plaintext.C (writeFileAscii): remove const_cast
1181         * paragraph.[Ch] (simpleTeXOnePar): make const
1182         * paragraph_funcs.C (outerPar): use const iterators
1183         * paragraph_pimpl.C (validate): use const iterators
1184         * text.C (setHeightOfRow): use const iterators
1185
1186 2004-05-17  Angus Leeming  <leeming@lyx.org>
1187
1188         * lfuns.h:
1189         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1190
1191         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1192         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1193         if the citation engine has changed.
1194
1195 2004-05-14  José Matos  <jamatos@lyx.org>
1196
1197         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1198         if the textclass does not provide it. Have it different for sgml and
1199         xml.
1200         support the language of document.
1201         * output_docbook.C (docbookParagraphs):
1202         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1203         first anchor as the id of the paragraph, remove special case code.
1204         * sgml.C (escapeChar): escape only < & >.
1205
1206 2004-05-14  Angus Leeming  <leeming@lyx.org>
1207
1208         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1209         dependencies on src/frontends/controllers/biblio.h. Define a
1210         CiteEngine_enum wrapper class to enable the enum to be forward
1211         declared.
1212
1213 2004-05-12  Angus Leeming  <leeming@lyx.org>
1214
1215         * buffer.C: up LYX_FORMAT to 234.
1216         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1217         use_numerical_citations with a single biblio::CiteEngine cite_engine
1218         variable.
1219         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1220
1221 2004-05-13  José Matos  <jamatos@lyx.org>
1222
1223         * converter.h:
1224         * converter.C (Converter, readFlags): add xml member.
1225         * outputparams.h: add XML flavor.
1226         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1227
1228 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1229
1230         * lyxfunc.C (dispatch):
1231         (getStatus): fix handling of LFUN_SEQUENCE
1232
1233 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * debug.C (showLevel): do not forget the end-of-line marker
1236
1237 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1238
1239         * kbmap.C (read): do not stop parsing a bind file when an error
1240         occurs (bug 1575)
1241
1242 2004-04-29  Angus Leeming  <leeming@lyx.org>
1243
1244         * cursor.C:
1245         * factory.C:
1246         * pariterator.C:
1247         * text2.C: wrap a bunch of #warning statements
1248         inside #ifdef WITH_WARNINGS blocks.
1249
1250 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1251
1252         * buffer.C: increment format to 233.
1253
1254 2004-04-28  Angus Leeming  <leeming@lyx.org>
1255
1256         * BufferView_pimpl.C:
1257         * lyxfunc.C:
1258         * text3.C:
1259         s/updateToolbar()/updateToolbars()/
1260         s/Toolbar.h/Toolbars.h/
1261
1262 2004-04-28  Angus Leeming  <leeming@lyx.org>
1263
1264         * BufferView.[Ch] (c-tor):
1265         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1266         No longer passes these data to the WorkArea generator.
1267
1268 2004-04-28  Angus Leeming  <leeming@lyx.org>
1269
1270         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1271
1272 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1273
1274         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1275
1276 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1277
1278         * output_latex.C (TeXEnvironment): make sure that there is a line
1279         break before \end{foo} for the last paragraph of a document
1280         (TeXOnePar): if the paragraph is at the end of the document (or
1281         inset) and the language has to be reset, then make sure that the
1282         line break is _before_ the language command, not after (fixes bug
1283         1225); also make sure that the language reset command is the first
1284         thing after the paragraph (to ensure proper nesting of
1285         environments and thus fix bug 1404)
1286
1287 2004-04-21  John Levon  <levon@movementarian.org>
1288
1289         * ToolbarBackend.h:
1290         * ToolbarBackend.C: make "name" be a programmatic name
1291         and a gui_name field.
1292
1293         * lyxfunc.C: display the minibuffer on M-x
1294
1295 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1296
1297         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1298         (bug 1526)
1299
1300 2004-04-19  Angus Leeming  <leeming@lyx.org>
1301
1302         * BufferView_pimpl.C (setBuffer): changed preview interface.
1303
1304         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1305         possible values.
1306
1307 2004-04-19  John Levon  <levon@movementarian.org>
1308
1309         * BufferView_pimpl.C:
1310         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1311
1312 2004-04-05  Angus Leeming  <leeming@lyx.org>
1313
1314         * text.C (redoParagraphs): add call to updateCounters(), thereby
1315         fixing the missing "Figure #:" label from the caption of a
1316         figure float.
1317
1318 2004-04-13  Angus Leeming  <leeming@lyx.org>
1319
1320         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1321         cursor is clicked out of an inset.
1322
1323 2004-04-13  Angus Leeming  <leeming@lyx.org>
1324
1325         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1326         than an InsetOld one.
1327
1328 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1329
1330         * format.[Ch]: add editor to Format
1331         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1332         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1333
1334 2004-04-08  André Pönitz  <poenitz@gmx.net>
1335
1336         * metricsinfo.h: remove PainterInfo::width member
1337
1338 2004-04-08  Angus Leeming  <leeming@lyx.org>
1339
1340         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1341         "\providecommand" rather than "\newcommand", thereby preventing
1342         clashes with packages that define "\boldsymbol" themselves.
1343         Eg, beamer.
1344
1345 2004-04-08  Angus Leeming  <leeming@lyx.org>
1346
1347         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1348         thereby squashing an unnecessary warning.
1349
1350 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1351
1352         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1353         setBuffer()
1354
1355 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * BufferView.C (setCursor): call redoParagraph (some insets could
1358         have been opened)
1359         (putSelectionAt): remove the 'double update' trick
1360
1361         * BufferView_pimpl.C (fitCursor): call refreshPar
1362         (workAreaDispatch): remove an uneeded update call
1363         (dispatch): remove some manual update calls
1364
1365         * cursor.[Ch]: remove cached_y_, updatePos
1366         (selHandle): set noUpdate when appropriate
1367
1368         * lyxfunc.C (dispatch): track if we need an update
1369
1370         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1371
1372         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1373         (paintSelection): cheap optimization, do not call cursorX when not
1374         needed
1375         (paintPars): change signature
1376         (refreshPar): add
1377         (paintText): adjust
1378         (paintTextInset): adjust
1379
1380         * text.C: adjust
1381
1382 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * lengthcommon.C: compilation fix: remove explicit array size from
1385         unit_name[] and friends
1386
1387 2004-04-05  Angus Leeming  <leeming@lyx.org>
1388
1389         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1390
1391         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1392         present only for the preferences dialog.
1393         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1394
1395 2004-04-05  Angus Leeming  <leeming@lyx.org>
1396
1397         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1398         to enable the frontends to export changes to lyxrc correctly.
1399
1400         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1401
1402 2004-04-07  André Pönitz  <poenitz@gmx.net>
1403
1404         * cursor.[Ch] (selClear, adjust): remove math
1405
1406         * cursor_slice.C: more agressive assert
1407
1408         * lyxfunc.C:
1409         * BufferView_pimpl.C: rework mouse event dispatch
1410
1411         * dociterator.C:
1412         * paragraph.C:
1413         * text2.C:
1414         * text3.C: adjust
1415
1416 2004-04-05  André Pönitz  <poenitz@gmx.net>
1417
1418         * cursor.[Ch] (valign, halign...): remove unneeded functions
1419
1420 2004-04-05  Angus Leeming  <leeming@lyx.org>
1421
1422         * lyxlength.[Ch] (unit_name et al.): const-correct.
1423
1424 2004-04-05  Angus Leeming  <leeming@lyx.org>
1425
1426         * BufferView_pimpl.C:
1427         * buffer.C:
1428         * counters.C:
1429         * cursor.C:
1430         * lyxfunc.C
1431         * paragraph.C:
1432         * pariterator.C:
1433         * text.C:
1434         * text2.C:
1435         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1436
1437 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1440
1441 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1442
1443         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1444         * BufferView_pimpl.[Ch] (getStatus)
1445         * BufferView.[Ch] (getStatus): add
1446         * lyxfunc.C (getStatus): move lfuns handled in
1447         BufferView::dispatch to te function above
1448         * Cursor.C (setSelection): set selection() = true
1449
1450 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1451
1452         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1453
1454 2004-03-31  Angus Leeming  <leeming@lyx.org>
1455
1456         * lyxfunc.C (dispatch): Fall through to the generic
1457         Dialogs::show("preamble").
1458
1459 2004-03-31  Angus Leeming  <leeming@lyx.org>
1460
1461         * lyxfunc.C (dispatch): Fall through to the generic
1462         Dialogs::show("spellchecker").
1463
1464 2004-03-31  Angus Leeming  <leeming@lyx.org>
1465
1466         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1467         preferences dialog.
1468
1469 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1470
1471         * BufferView.C
1472         * cursor.[Ch]
1473         * dociterator.[Ch]:
1474         * insetiterator.[Ch]:
1475         * lyxfind.C:
1476         * lyxfunc.C:
1477         * pariterator.[Ch]:
1478         * text2.C:
1479         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1480
1481 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1484         insets where we are putting the cursor.
1485
1486 2004-03-31  Angus Leeming  <leeming@lyx.org>
1487
1488         * lfuns.h:
1489         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1490
1491         * lyxrc.[Ch] (read, write): overloaded member functions taking
1492         a std::[io]stream arguments.
1493
1494         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1495
1496 2004-03-31  Angus Leeming  <leeming@lyx.org>
1497
1498         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1499         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1500
1501         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1502         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1503
1504 2004-03-31  Angus Leeming  <leeming@lyx.org>
1505
1506         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1507         the LFUN_ALL_INSETS_TOGGLE code.
1508
1509 2004-03-30  Angus Leeming  <leeming@lyx.org>
1510
1511         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1512         has died. Fall through to the generic Dialogs::show("document").
1513
1514 2004-03-30  Angus Leeming  <leeming@lyx.org>
1515
1516         * lfuns.h:
1517         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1518         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1519
1520         * lyxfunc.C (getStatus, dispatch): define the actions for these
1521         lfuns. Little more than a cut and pste job from ControlDocument.C
1522
1523         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1524
1525 2004-03-30  Angus Leeming  <leeming@lyx.org>
1526
1527         * lfuns.h:
1528         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1529         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1530
1531         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1532         open/closed state of ollapsable insets. Usage:
1533
1534         all-inset-toggle <state> <name>, where
1535         <state> == "open" || "closed" || "toggle" and
1536         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1537
1538         * lyxtext.h, text2.C (toggleInset): removed.
1539
1540         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1541         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1542         now passes LFUN_INSET_TOGGLE to the found inset.
1543
1544         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1545         is now invoked as "all-insets-toggle toggle branch".
1546
1547 2004-03-30  Angus Leeming  <leeming@lyx.org>
1548
1549         * dociterator.C:
1550         * insetiterator.C:
1551         * pariterator.[Ch]: added/corrected header blurb.
1552
1553 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1554
1555         * dociterator.[Ch]: add an inset_ member
1556         (backwardPos): implemented
1557         (backwardPos, forwardPos): use inset_ when the stack is empty.
1558         (doc_iterator_begin, doc_iterator_end): implemented
1559         * pariterator.[Ch]: adjust, add begin, end
1560         * insetiterator.[Ch]: adjust, add begin, end
1561         * cursor.C:
1562         * document.C:
1563         * BufferView.C:
1564         * BufferView_pimpl.C:
1565         * CutAndPaste.C: adjust
1566
1567 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1568
1569         * buffer.C: increment file format to 232.
1570         * LaTeXFeatures.C: add bibtopic package.
1571         * bufferparams.[Ch]: param \use_bibtopic.
1572
1573         * lyxrc.[Ch]: add lyxrc bibtex_command
1574         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1575
1576         * buffer.C: increment file format to 231.
1577
1578 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1579
1580         * dociterator.C: implement forwardPar
1581         * iterators.[Ch]: remove, replaced by
1582         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1583         * BufferView.C:
1584         * BufferView_pimpl.C:
1585         * CutAndPaste.C:
1586         * buffer.C:
1587         * bufferview_funcs.C:
1588         * cursor.C:
1589         * lyxfind.C
1590         * lyxfunc.C
1591         * paragraph_funcs.C
1592         * toc.C:
1593         * Makefile.am: adjust
1594
1595 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * CutAndPaste.C (pasteSelection): fix 2 crashes
1598         (eraseSelection): fix a crash
1599         * paragraph_funcs.C: remove a warning
1600
1601 2004-03-28  Angus Leeming  <leeming@lyx.org>
1602
1603         * lfuns.h:
1604         * LyXAction.C (init): new LFUN_PRINT.
1605
1606         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1607
1608 2004-03-27  Angus Leeming  <leeming@lyx.org>
1609
1610         * lfuns.h:
1611         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1612
1613         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1614
1615 2004-03-27  Angus Leeming  <leeming@lyx.org>
1616
1617         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1618         insetlist always contains non-null pointers to insets.
1619
1620 2004-03-26  Angus Leeming  <leeming@lyx.org>
1621
1622         * src/BufferView_pimpl.C:
1623         * src/CutAndPaste.C:
1624         * src/buffer.C:
1625         * src/iterators.C:
1626         * src/output_plaintext.C:
1627         * src/outputparams.h:
1628         * src/paragraph_funcs.C:
1629         * src/rowpainter.C:
1630         * src/text.C:
1631         * src/text2.C:
1632         * src/frontends/controllers/ControlErrorList.C:
1633         * src/frontends/gtk/FileDialogPrivate.C:
1634         * src/frontends/gtk/GPainter.C:
1635         * src/frontends/gtk/GToolbar.C:
1636         * src/frontends/qt2/QRef.C:
1637         * src/mathed/math_scriptinset.C: squash compiler warnings.
1638
1639 2004-03-26  Angus Leeming  <leeming@lyx.org>
1640
1641         * ispell.C (LaunchIspell::start):
1642         * lyx_cb.C (AutoSaveBuffer::start):
1643         invoke run(DontWait) rather than runNonBlocking().
1644
1645 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1646
1647         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1648
1649 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1650
1651         * kbsequence.C (print): adjust
1652
1653         * kbmap.C (printKeySym): rename and change signature
1654         (printKey): use LyXKeySym::print()
1655
1656 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1657
1658         * undo.C: add using std::advance to compile for stlport
1659
1660 2004-03-24  Angus Leeming  <leeming@lyx.org>
1661
1662         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1663         it leads to a crash when no buffer is present.
1664
1665 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1666             Martin Vermeer  <martin.vermeer@hut.fi>
1667
1668         * lyxfunc.C (dispatch):
1669         * bufferparams.C (readToken): use the new LColor::setColor
1670
1671         * LColor.[Ch] (setColor): new version that takes two strings as
1672         argument and creates a new color entry if necessary
1673
1674 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1675
1676         * buffer.C (makeLaTeXFile): if the main latex file that is
1677         processed is usually a subdocument of some master, then pretend
1678         for a while that it is actually the master
1679
1680 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1681
1682         * buffer.C (getLabelList):
1683         (getBibkeyList): use getMasterBuffer()
1684         (getMasterBuffer): new method. Returns the main document in the
1685         case where one is using included documents.
1686
1687 2004-03-25  André Pönitz  <poenitz@gmx.net>
1688
1689         * Makefile.am:
1690         * iterators.[Ch]:
1691         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1692
1693         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1694
1695         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1696         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1697
1698         * ParameterStruct.h: merge with ParagraphParameters
1699
1700         * lyxtext.h: remove LyXText::parOffset() and getPar()
1701
1702         * text3.C: Remove all 'manual' update calls. We do now one per user
1703         interaction which is completely sufficient.
1704
1705         * Bidi.C:
1706         * BufferView.[Ch]:
1707         * BufferView_pimpl.C:
1708         * FontIterator.[Ch]:
1709         * MenuBackend.C:
1710         * ParagraphParameters.[Ch]:
1711         * buffer.C:
1712         * buffer.h:
1713         * bufferlist.C:
1714         * cursor.[Ch]:
1715         * cursor_slice.[Ch]:
1716         * dociterator.[Ch]:
1717         * errorlist.[Ch]:
1718         * factory.C:
1719         * lfuns.h:
1720         * lyxfind.C:
1721         * lyxfunc.C:
1722         * output_docbook.[Ch]:
1723         * output_latex.[Ch]:
1724         * output_linuxdoc.[Ch]:
1725         * output_plaintext.[Ch]:
1726         * paragraph.[Ch]:
1727         * paragraph_funcs.[Ch]:
1728         * paragraph_pimpl.[Ch]:
1729         * rowpainter.C:
1730         * tabular.[Ch]:
1731         * text.C:
1732         * text2.C:
1733         * toc.C:
1734         * undo.[Ch]: adjust
1735
1736         * frontends/controllers/ControlDocument.C:
1737         * frontends/controllers/ControlErrorList.C:
1738         * frontends/controllers/ControlSpellchecker.C:
1739         * insets/inset.C:
1740         * insets/inset.h:
1741         * insets/insetbase.h:
1742         * insets/insetbibitem.C:
1743         * insets/insetbox.C:
1744         * insets/insetbranch.C:
1745         * insets/insetcaption.C:
1746         * insets/insetcharstyle.C:
1747         * insets/insetcharstyle.h:
1748         * insets/insetcollapsable.C:
1749         * insets/insetcollapsable.h:
1750         * insets/insetert.C:
1751         * insets/insetfloat.C:
1752         * insets/insetfoot.C:
1753         * insets/insetmarginal.C:
1754         * insets/insetnote.C:
1755         * insets/insetoptarg.C:
1756         * insets/insettabular.C:
1757         * insets/insettext.C:
1758         * insets/insettext.h:
1759         * insets/insetwrap.C:
1760         * mathed/math_mboxinset.C:
1761         * mathed/math_nestinset.C:
1762         * mathed/math_scriptinset.C:
1763         * mathed/math_scriptinset.h:
1764         * support/types.h:
1765
1766 2004-03-24  Angus Leeming  <leeming@lyx.org>
1767
1768         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1769         deal with any child processes that have finished but are waiting to
1770         communicate this fact to the rest of LyX.
1771
1772 2004-03-24  Angus Leeming  <leeming@lyx.org>
1773
1774         64-bit compile fixes.
1775
1776         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1777         (c-tor): pass lyx::pos_types rather than ints.
1778
1779         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1780         lyx::pos_type.
1781
1782         * text.C (Delete): compile fix.
1783         (getPar): ensure that function declaration is the same as that in
1784         the header file.
1785
1786 2004-03-23  Angus Leeming  <leeming@lyx.org>
1787
1788         * ispell.C (LaunchIspell):
1789         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1790         a boost::shred_ptr rather than a std::auto_ptr.
1791
1792 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1793
1794         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1795         handle LFUN_FILE_INSERT_*
1796
1797         * lyxrc.C (setDefaults, getDescription, output, read):
1798         * lyxrc.h: remove ps_command
1799
1800 2004-03-22  Angus Leeming  <leeming@lyx.org>
1801
1802         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1803         Ensure that error_handler is processed once only and that all data
1804         is saved before attempting to output any warning messages.
1805
1806         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1807
1808 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1811
1812 2004-03-19  André Pönitz  <poenitz@gmx.net>
1813
1814         * cursor.[Ch] (reset): take main text inset as argument
1815
1816         * BufferView: adjust
1817         * BufferView_pimpl.C: adjust
1818
1819         * paragraph.[Ch]: fix completely broken operator=()
1820
1821 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * LColor.C (getFromLyXName): make sure that the color name is used
1824         as lowercase.
1825
1826 2004-03-17  Angus Leeming  <leeming@lyx.org>
1827
1828         * lfuns.h:
1829         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1830
1831         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1832         dialog and to kill a forked process.
1833
1834 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1835
1836         * text2.C (setCursorFromCoordinates): fix font problem
1837
1838 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1839
1840         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1841         bogus "rebuild cursor" code
1842
1843 2004-03-11  André Pönitz  <poenitz@gmx.net>
1844
1845         * buffer.[Ch]: use InsetText instead of LyXText as container for
1846         the main lyx text.
1847
1848         * dociterator.[Ch]: drop the BufferView * member which is not needed
1849         anymore after the change to buffer.C
1850
1851         * paragraph_funcs.C:
1852         * text.C:
1853         * text2.C:
1854         * BufferView.[Ch]:
1855         * BufferView_pimpl.[Ch]:
1856         * cursor.[Ch]:
1857         * cursor_slice.[Ch]: adjust
1858
1859         * text3.C: fix bug in mathDispatch
1860
1861 2004-03-08  André Pönitz  <poenitz@gmx.net>
1862
1863         * undo.[Ch]: use 'StableDocumentIterator' as base for
1864         the Undo struct.
1865
1866 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1867
1868         * LaTeXFeatures.C:
1869         * bufferparams.[Ch]: add jurabib support and param.
1870
1871         * LaTeX.C: add FIXME/comment.
1872
1873 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1874
1875         * buffer.C: increment file format to 230.
1876
1877 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1878
1879         * cursor.C (dispatch): avoid infinite loops
1880
1881 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * rowpainter.C (paintSelection): fix x coordinates
1884
1885 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * text.C (rowBreakPoint): fix breaking before displayed insets
1888
1889 2004-03-01  André Pönitz  <poenitz@gmx.net>
1890
1891         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1892
1893         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1894
1895         * Makefile.am:
1896         * BufferView.C:
1897         * BufferView_pimpl.C:
1898         * buffer.C:
1899         * lyxfind.C:
1900         * lyxfunc.C:
1901         * text.C:
1902         * text2.C:
1903         * text3.C: adjust
1904
1905 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * lyxtext.h:
1908         * text.C:
1909         * text2.C:
1910         * rowpainter.C:
1911         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1912         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1913
1914 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1915
1916         * Bidi.[Ch] (computeTables): const correctness
1917         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1918         fill_hfill, fill_label_hfill and x from Row
1919         * lyxtext.h: prepareToPrint returns a RowMetrics
1920         * rowPainter.C: adjust
1921         * text.C (prepareToPrint): use width, not textWidth. adjust
1922         (redoParagraphInternal, cursorX): adjust
1923         * text2.C (getColumnNearX): adjust
1924         (init): put a default value to the top LyXText::width
1925
1926 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1929
1930 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1931
1932         * lyxtext.h: add FontIterator class
1933
1934         * text.C (FontIterator, operator*, operator->, operator++): add
1935         (rowBreakPoint, setRowWidth): adjust (fixing a
1936         rebreaking bug)
1937
1938 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1939
1940         * BufferView_pimpl.C (workAreaDispatch): allow also
1941         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1942
1943 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1944
1945         * text.C (rowBreakPoint): fix a bug showing with very large insets
1946
1947 2004-02-25  André Pönitz  <poenitz@gmx.net>
1948
1949         * text3.C:
1950         * cursor.[Ch]: move some mathed specific code to mathed
1951
1952 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1953
1954         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1955         use_tempdir in preferences
1956         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1957         tempfile creation
1958         * lyx_main.C: ensure that tempdir is valid
1959         * lyxlex.h: correct typo
1960         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1961         * paragraph.[Ch] (isMultiLingual): make const
1962         * cursor.[Ch] (openable): make const
1963
1964 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1965
1966         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1967
1968 2004-02-20  André Pönitz  <poenitz@gmx.net>
1969
1970         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1971
1972         * cursor.[Ch]: prepare for localized getStatus()
1973
1974         * lyxtext.h:
1975         * tabular.C:
1976         * text.C:
1977         * text2.C:
1978         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1979
1980 2004-02-20  André Pönitz  <poenitz@gmx.net>
1981
1982         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1983
1984 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1985
1986         * text2.C (setCursorFromCoordinates): switch to absolute coords
1987         (cursorUp): adjust
1988         (cursorDown): adjust
1989         * text3.C (dispatch): adjust
1990
1991 2004-02-16  André Pönitz  <poenitz@gmx.net>
1992
1993         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1994           insets/ChangeLog)
1995
1996         * cursor_slice.[Ch]: remove unneeded acessor function
1997
1998         * lyxtext.h: rename rtl() to isRTL()
1999
2000         * rowpainter.C:
2001         * tabular.C:
2002         * text.C:
2003         * text2.C:
2004         * text3.C: adjust
2005
2006 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * rowpainter.C (paintSelection): coord fix
2009
2010 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2011
2012         * Spacing.C: compile fix
2013
2014 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2015
2016         * cursor.C (dispatch): restore current_ before returning
2017
2018 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2019
2020         * text2.C (cursorUp, cursorDown): fix coords
2021         (moveUp): fix crash
2022
2023 2004-02-12  André Pönitz  <poenitz@gmx.net>
2024
2025         * lyxtext.h:
2026         * text.C:
2027         * text2.C:
2028         * text3.C: add LCursor & parameter to most cursor movement functions
2029           remove usage of LyXText::cursorRow() and cursorPar()
2030
2031         * cursor.[Ch]: add textRow() needed members
2032
2033         * BufferView.C:
2034         * BufferView_pimpl.C:
2035         * paragraph.[Ch]:
2036         * BufferView.C:
2037         * BufferView_pimpl.C: adjust
2038
2039 2004-02-11  André Pönitz  <poenitz@gmx.net>
2040
2041         * lyxfunc.C:
2042         * BufferView.[Ch]:
2043         * BufferView_pimpl.C: shift undo/redo handling
2044
2045         * cursor.[Ch]: fix mathed crash
2046
2047         * lyxfind.C:
2048         * lyxtext.h: move selectionAsText to LCursor
2049
2050         * output_latex.C:
2051         * paragraph.C:
2052         * text.C:
2053         * text2.C:
2054         * text3.C: adjust
2055
2056         * rowpainter.C: fix excessive drawing
2057
2058 2004-02-06  André Pönitz  <poenitz@gmx.net>
2059
2060         * BufferView.[Ch]:
2061         * BufferView_pimpl.[Ch]:
2062         * text3.C: move some text specific LFUN handling
2063
2064 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2065
2066         * text3.C (checkInsetHit): adjust coords
2067         * text2.C (getColumnNearX): adjust coords
2068         (edit): adjust coords
2069         * text.C (getRowNearY): add two asserts
2070
2071 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2072
2073         * converter.C:
2074         * format.C: add using std::distance to compile on gcc 2.95/stlport
2075
2076 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2077
2078         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2079
2080 2004-02-04  André Pönitz  <poenitz@gmx.net>
2081
2082         * BufferView.[Ch] (insertInset):
2083         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2084
2085         * text2.C:
2086         * text3.C: adjust
2087
2088 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2089
2090         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2091         on the default clause of the switch
2092         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2093         wasn't catched by LCursor::dispatch
2094
2095 2004-02-03  André Pönitz  <poenitz@gmx.net>
2096
2097         * BufferView.C:
2098         * cursor.[Ch]: some additional asserts
2099
2100         * undo.[Ch]: remove LyXText dependency in interface
2101
2102         * lyxfunc.C: adjust
2103
2104         * lyxtext.h (firstPar, lastPar): remove dead functions
2105
2106         * text.C:
2107         * text2.C:
2108         * text3.C:
2109         * paragraph.[Ch]: adjust
2110
2111 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2112
2113         * lyxfind.C (find): fix argument order in call to ::find
2114
2115 2004-02-02  André Pönitz  <poenitz@gmx.net>
2116
2117         * cursor.[Ch]: remove direct access to anchor
2118
2119         * text.C: remove findText() hack
2120
2121 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2122
2123         * iterators.[Ch] (lockPath): remove in favour of...
2124         * BufferView.[Ch] (setCursor): this addition
2125         * BufferView.C (putSelectionAt): adjust
2126         * undo.C (performUndoOrRedo): adjust
2127         * lyxfunc.C (dispatch): adjust
2128
2129 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2130
2131         * iterators.C (lockPath): add a missing slice
2132         * undo.C (performUndoOrRedo): remove redundant positioning code
2133
2134 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2135
2136         * vc-backend.C (scanMaster): ";" -> ';'
2137
2138 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2139
2140         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2141         std::binary_function
2142
2143         * lyxtextclass.C (compare_name): rename to...
2144         (LayoutNamesEqual): ...this
2145
2146         * lyxlex_pimpl.C (compare_tags): inherit from
2147         std::binary_function, put back into anon namespace
2148
2149         * lyxfind.C (MatchString): inherig from std::binary_function
2150         (findChange): use empty() istead of !size()
2151
2152         * format.C (FormatNamesEqual): new functor
2153         (getFormat): use it
2154         (getNumber): use it
2155         (add): use it
2156         (erase): use it
2157         (setViewer): use it
2158
2159         * converter.C (compare_Converter): rename to...
2160         (ConverterEqual): ...this, and fixup a bit.
2161         (getConverter): use it, and make function const
2162         (getNumber): use it, and make function const
2163         (add): use it
2164         (erase): use it:
2165
2166         * bufferlist.C: add using boost::bind
2167
2168         * MenuBackend.C (MenuNamesEqual): new functor
2169         (hasMenu): use it, and make function const
2170         (hasSubmenu): use nested bind to get rid of compare_memfun.
2171
2172 2004-01-30  André Pönitz  <poenitz@gmx.net>
2173
2174         * BufferView_pimpl.C:
2175         * cursor.C:
2176         * cursor.h:
2177         * cursor_slice.[Ch]:
2178         * lyxfunc.C:
2179         * lyxtext.h:
2180         * paragraph_funcs.C:
2181         * paragraph_funcs.h:
2182         * rowpainter.C:
2183         * text.C:
2184         * text2.C:
2185         * text3.C: move some of the edit(x,y) handling to the insets
2186         some coordinate changes.
2187
2188 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2189
2190         * text.C: add using statements for std::advance and std::distance
2191
2192         * paragraph.C: add using statement for std::distance
2193
2194         * lyxfind.C: add using statement for std::advance
2195
2196         * cursor.C (region): remove std:: from swap
2197         (openable): use nucleus in stead of operator->
2198
2199         * BufferView.C: add using statements for std::distance and std::swap
2200
2201 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2202
2203         * iterators.C: Remove the pimple, move the needed structures to
2204         the header file. Create accessor for the positions stack.
2205         (asPosIterator): remove function
2206
2207         * PosIterator.C (PosIterator): move constructors to top of file
2208         (PosIterator): reimplement the constructor taking a ParIterator in
2209         terms of setFrom.
2210         (setFrom): new function
2211         (operator!=): inline it
2212
2213 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2214
2215         * lyxfind.C (replaceAll): use std::advance
2216
2217         * iterators.h: inherit from std::iterator.
2218
2219         * PosIterator.C (advance, distance): remove
2220         * PosIterator.h: interit from std::iterator.
2221
2222 2004-01-26  André Pönitz  <poenitz@gmx.net>
2223
2224         * BufferView.[Ch]:
2225         * BufferView_pimpl.[Ch]:
2226         * InsetList.[Ch]:
2227         * PosIterator.[Ch]:
2228         * buffer.h:
2229         * bufferview_funcs.C:
2230         * cursor.[Ch]:
2231         * cursor_slice.h:
2232         * factory.[Ch]:
2233         * iterators.[Ch]:
2234         * lyxfind.C:
2235         * lyxfunc.C:
2236         * lyxtext.h:
2237         * output_docbook.C:
2238         * output_latex.C:
2239         * output_linuxdoc.C:
2240         * output_plaintext.C:
2241         * paragraph.[Ch]:
2242         * paragraph_funcs.[Ch]:
2243         * paragraph_pimpl.[Ch]:
2244         * rowpainter.C:
2245         * tabular.C:
2246         * tabular.h:
2247         * text.C:
2248         * text2.C:
2249         * text3.C: more IU:  dumps most of the rest of the mathcursor
2250     implementation into cursor.[Ch]; "globalize" a bit of it.
2251
2252 2004-01-25  Angus Leeming  <leeming@lyx.org>
2253
2254         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2255
2256 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2257
2258         * LaTeXFeatures.h: add nice_ and nice() const
2259         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2260
2261 2004-01-20  André Pönitz  <poenitz@gmx.net>
2262
2263         * BufferView.[Ch]:
2264         * BufferView_pimpl.C:
2265         * PosIterator.C:
2266         * bufferview_funcs.C:
2267         * cursor.[Ch]:
2268         * cursor_slice.[Ch]:
2269         * factory.C:
2270         * iterators.C:
2271         * lyx_cb.C:
2272         * lyxfind.C:
2273         * lyxfunc.C:
2274         * lyxtext.h:
2275         * rowpainter.C:
2276         * text.C:
2277         * text2.C:
2278         * text3.C:
2279         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2280           LCursor and mathcursor parts to LCursor and InsetBase.
2281
2282 2004-01-15  André Pönitz  <poenitz@gmx.net>
2283
2284         * cursor_slice.[Ch]: add a few covienience functions
2285
2286         * funcrequest.[Ch]: remove BufferView * member
2287
2288         * BufferView_pimpl.C:
2289         * cursor.C:
2290         * factory.[Ch]:
2291         * lyxfind.[Ch]:
2292         * lyxfunc.C:
2293         * lyxtext.h:
2294         * text3.C:
2295         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2296
2297 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2300         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2301
2302 2004-01-13  André Pönitz  <poenitz@gmx.net>
2303
2304         * textcursor.[Ch]:
2305         * lyxtext.h: hide cursor and selection anchor behind accessor function
2306
2307         * BufferView.C:
2308         * BufferView_pimpl.[Ch]:
2309         * PosIterator.C:
2310         * bufferview_funcs.C:
2311         * cursor.h:
2312         * lyxfind.C:
2313         * lyxfunc.C:
2314         * text.C:
2315         * text2.C:
2316         * text3.C:
2317         * undo.C: adjust
2318
2319         * cursor.h:
2320         * cursor_slice.[Ch]: some integer type changes for inset unification
2321
2322         * lyxcursor.[hC]: remove, it's CursorSlice now.
2323
2324         * Makefile.am:
2325         * BufferView_pimpl.[Ch]:
2326         * bufferview_funcs.C:
2327         * cursor_slice.C:
2328         * lyxtext.h:
2329         * text.C:
2330         * text2.C:
2331         * text3.C:
2332         * textcursor.[Ch]: adjust
2333
2334 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2335
2336         * text2.C (undoSpan): add and use
2337         * text.C (breakParagraph): use undoSpan (fix bug 578)
2338         * lyxtext.h: adjust
2339
2340 2004-01-08  Angus Leeming  <leeming@lyx.org>
2341
2342         * BufferView_pimpl.C (MenuInsertLyXFile):
2343         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2344         * lyxfunc.C (menuNew, open, doImport):
2345         FileFilterList change to the FileDialog open and save functions.
2346
2347 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2348
2349         * ShareContainer.h: make isEqual and isUnique adaptable
2350
2351         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2352
2353 2004-01-07  Angus Leeming  <leeming@lyx.org>
2354
2355         * LyXAction.C:
2356         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2357
2358         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2359
2360         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2361         functions replacing find, replace and replaceAll.
2362
2363         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2364         LFUN_WORDFIND(FORWARD|BACKWARD).
2365
2366 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2367
2368         * text.C (breakParagraph): remove an outdated #warning
2369
2370 2004-01-07  André Pönitz  <poenitz@gmx.net>
2371
2372         * lyxfind.C: somewhat clearer logic
2373
2374         * text.C: prevent crash in cursorX on unitialized row cache
2375
2376 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2377
2378         * lyxcursor.[Ch] (operator>): add
2379         * textcursor.C (selStart, selEnd): use std::min and std::max
2380
2381 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2382
2383         * Chktex.C: include boost/format.hpp
2384
2385 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2386
2387         * InsetList.C: replace functor MathcIt with adaptable functor
2388         InsetTablePosLess
2389         (insetIterator): modify accordingly
2390
2391         * BranchList.h: move the BranchNamesEqual functor here from...
2392         * BranchList.C: ... to here
2393
2394         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2395         SameName and match.
2396         (add): replace a finding loop with std::find_if.
2397
2398 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2399
2400         * output_docbook.C: moving LatexParam functionality into
2401         .layout files
2402
2403 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2404
2405         * buffer.C: increment format to 229.
2406
2407 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2408
2409         * LaTeXFeatures.C:
2410         * lyx_sty.[Ch]: remove minipageindent_def
2411
2412         * LyXAction.C:
2413         * factory.C:
2414         * lfuns.h:
2415         * lyxfunc.C:
2416         * text3.C: remove LFUN_INSET_MINIPAGE
2417
2418 2003-12-28  Angus Leeming  <leeming@lyx.org>
2419
2420         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2421
2422 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2423
2424         * text2.C (setParagraph): fix off-by-one crash
2425
2426 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2427
2428         * output_docbook.C: header stuff for AGU
2429
2430 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2431
2432         * text2.C (redoCursor): remove
2433         * text.C:
2434         * text3.C:
2435         * BufferView_pimpl.C: remove calls to redoCursor and
2436         setCursor(cursor.par(), cursor.pos()) all around
2437
2438 2003-12-15  Angus Leeming  <leeming@lyx.org>
2439
2440         * buffer.C: up the format to 228.
2441
2442 2003-12-15  André Pönitz  <poenitz@gmx.net>
2443
2444         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2445         slices
2446
2447         * Makefile.am:
2448
2449         * BufferView_pimpl.C:
2450         * cursor.[Ch]:
2451         * lyxcursor.[Ch]:
2452         * rowpainter.[Ch]:
2453         * lyxtext.h:
2454         * text.C:
2455         * text2.C:
2456         * text3.C: adjust
2457
2458 2003-12-15  Angus Leeming  <leeming@lyx.org>
2459
2460         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2461         than getFromGUIName to manipulate the color.
2462
2463 2003-12-14  Angus Leeming  <leeming@lyx.org>
2464
2465         * BranchList.[Ch]: minimize the API.
2466         (Branch::getBranch, getColor): now return a 'const &'.
2467         (Branch::setSelected) now returns a bool set to true if the
2468         selection status changes.
2469         (BranchList::clear, size, getColor, setColor, setSelected,
2470         allBranches, allSelected, separator): removed.
2471         (BranchList::find): new functions, returning the Branch with
2472         the given name.
2473         (BranchList::add, remove): return a bool indicating that
2474         the operation was successful.
2475
2476         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2477         new InsetBranch::isBranchSlected member function.
2478
2479         * LColor.[Ch]: mimimize the API.
2480         (fill): renamed as addColor and made private.
2481         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2482         versions of these functions taking a string arg have been removed.
2483
2484         * bufferparams.C (readToken):
2485         * lyxfunc.C (dispatch):
2486         * lyxrc.C (read): changes due to the altered BranchList and
2487         LColor APIs.
2488
2489         * factory.C (createInset, readInset): changes due to altered
2490         InsetBranch c-tor.
2491
2492 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2493
2494         * factory.C:
2495         * lyxfunc.C: remove insetminipage. "minipage-insert"
2496         now produces a frameless minipage box inset.
2497
2498 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2499
2500         * textcursor.[Ch] (selStart,selEnd): add new methods
2501         remove selection::start, end, use LyXCursor::operator<
2502         * lyxcursor.[Ch] (operator<): add
2503         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2504         * BufferView.[Ch] (unsetXSel): add
2505         * text2.C (clearSelection): use unsetXSel,adjust
2506         * text.C: adjust
2507         * text3.C: adjust
2508         * rowpainter.C: adjust
2509         * bufferview_funcs.C (put_selection_at): adjust
2510
2511 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * BufferView_pimpl.C: small coord. correction
2514
2515 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2516
2517         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2518         dragging over the splash screen.
2519
2520 2003-12-11  Angus Leeming  <leeming@lyx.org>
2521
2522         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2523         as it is now handled in LyXText::dispatch.
2524
2525         * text3.C (doInsertInset): remove a level of nesting.
2526
2527 2003-12-11  Angus Leeming  <leeming@lyx.org>
2528
2529         * factory.C (createInset): changes due to the changed interface to
2530         InsetCommandMailer::string2params.
2531
2532 2003-12-10  Angus Leeming  <leeming@lyx.org>
2533
2534         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2535         'dialog-show-new-inset <inset name>'
2536
2537 2003-12-10  Angus Leeming  <leeming@lyx.org>
2538
2539         * buffer.C: up the format to 227.
2540
2541         * factory.C: the box inset is now identified simply by 'Box'.
2542
2543 2003-12-10  Angus Leeming  <leeming@lyx.org>
2544
2545         * buffer.C: up the format to 226.
2546
2547         * factory.C: the note inset is now identified simply by 'Note'.
2548
2549 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2550
2551         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2552         when a pit is enough. Standarize a couple of loops.
2553
2554 2003-12-05  Angus Leeming  <leeming@lyx.org>
2555
2556         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2557         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2558         data to the re-worked "log" dialog.
2559
2560 2003-12-03  André Pönitz  <poenitz@gmx.net>
2561
2562         * PosIterator.C:
2563         * iterators.C:
2564         * lyxtext.h:
2565         * output_latex.C:
2566         * paragraph_funcs.C:
2567         * text.C:
2568         * text2.C: use Inset::getText instead of Inset::getParagraph
2569
2570 2003-12-03  André Pönitz  <poenitz@gmx.net>
2571
2572         * buffer.[Ch]:
2573         * lyxtext.h:
2574         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2575         InsetText::read() as LyXText::read()
2576
2577 2003-12-02  Angus Leeming  <leeming@lyx.org>
2578
2579         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2580         type. Add a comment in the implementation that the function uses
2581         the stream's bad() function rather than fail() as the std::streams
2582         would do.
2583
2584 2003-12-02  André Pönitz  <poenitz@gmx.net>
2585
2586         * lyxlex.[Ch]: make interface more similar to std::stream
2587
2588         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2589
2590 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2591
2592         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2593
2594 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2595
2596         * vspace.[Ch]: remove VSpace::NONE
2597
2598 2003-12-01  André Pönitz  <poenitz@gmx.net>
2599
2600         * buffer.[Ch]:
2601         * lyxtext.h: move ParagraphList member to LyXText
2602         rename LyXText::ownerParagraphs to LyXText::paragraph
2603
2604         * CutAndPaste.C:
2605         * bufferview_funcs.C:
2606         * iterators.[Ch]:
2607         * lyx_cb.C:
2608         * paragraph.C:
2609         * rowpainter.C:
2610         * tabular.C:
2611         * text.C:
2612         * text2.C:
2613         * text3.C: adjust
2614
2615         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2616
2617         * undo.C: fix cursor positioning
2618
2619 2003-12-01  John Levon  <levon@movementarian.org>
2620
2621         * BufferView_pimpl.C: fix a crash on exit with
2622         a buffer open
2623
2624 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2625
2626         * BranchList.C: fix setSelected() method.
2627
2628 2003-11-28  André Pönitz  <poenitz@gmx.net>
2629
2630         * ParagraphParameters.[Ch]:
2631         * ParameterStruct.h: remove space above/below from Paragraph to
2632          InsetVSpace
2633
2634         * BufferView_pimpl.C:
2635         * factory.C:
2636         * lyxfunc.C:
2637         * lyxtext.h:
2638         * output_latex.C:
2639         * paragraph.C:
2640         * paragraph_funcs.C:
2641         * rowpainter.[Ch]:
2642         * text.C:
2643         * text2.C:
2644         * text3.C: adjust
2645
2646 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2647
2648         * factory.C: Syntax change for CharStyles
2649
2650 2003-11-28  André Pönitz  <poenitz@gmx.net>
2651
2652         * BufferView.[Ch]:
2653         * BufferView.[Ch]:
2654         * buffer.[Ch]:
2655         * buffer.[Ch]: move LyXText member
2656
2657 2003-11-28  André Pönitz  <poenitz@gmx.net>
2658
2659         * BufferView.[Ch]: make LyXText * text a private member
2660
2661         * BufferView_pimpl.C:
2662         * cursor.C:
2663         * iterators.C:
2664         * lyx_cb.C:
2665         * lyxfind.C:
2666         * lyxtext.h:
2667         * rowpainter.[Ch]:
2668         * text.C:
2669         * text2.C:
2670         * undo.C: adjust
2671
2672         * output_plaintext.C: cleanup
2673
2674 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2675
2676         * buffer.C:
2677         * lyxtextclass.[Ch]: parametrize SGML document header
2678
2679 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2680
2681         * converter.[Ch]:
2682         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2683         getFlavor().
2684
2685 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2686
2687         * text2.C (setFont): rework using PosIterator (no more recursive)
2688         (setCharFont): no more needed
2689         (setLayout): no more selection cursors fiddling (done by redoCursor)
2690         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2691         destroy remaining ones)
2692
2693 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2694
2695         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2696         * lyxtext.h: ditto
2697         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2698         selection cursors
2699         * lyxfunc.C: adjust
2700         * text3.C: adjust + re-allow multi par depth changes
2701         * textcursor.C: simplify a bit
2702
2703 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2704
2705         * src/buffer.C:
2706         * src/lyxlayout.C:
2707         * src/lyxlayout.h:
2708         * src/lyxtext.h:
2709         * src/output_docbook.C:
2710         * src/output_latex.C:
2711         * src/paragraph.C:
2712         * src/paragraph.h:
2713         * src/sgml.C:
2714         * src/sgml.h:
2715         * src/text2.C: Introducing a number of tags parametrizing various
2716         XML formats that we may want to support
2717
2718 2003-11-25  André Pönitz  <poenitz@gmx.net>
2719
2720         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2721
2722         * lyxtext.h (leftMargin/rightMargin): simplify interface
2723
2724         * rowpainter.C:
2725         * text.C:
2726         * text2.C:
2727         * text3.C: adjust
2728
2729 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2730
2731         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2732         master file to any child files. Fixes bug 546.
2733
2734 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2737
2738 2003-11-24  André Pönitz  <poenitz@gmx.net>
2739
2740         * rowpainter.C: simplification
2741
2742         * text2.C (updateCounters): remove call to redoParagraph on
2743         changed labels as this is far too expensive.
2744
2745 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2746
2747         * converter.C (convert): fix a crash: this function gets
2748         called with buffer == 0 from importer code.
2749
2750 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2751
2752         * text3.C (cursorPrevious): make sure that we do not compare
2753         iterators form different containers.
2754         (cursorNext): ditto
2755
2756         * rowpainter.C (paintSelection): make sure that we do not compare
2757         iterators from different containers.
2758
2759         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2760         iterators from different ParagraphList containers.
2761         [NEXT] ditto
2762
2763         * text2.C (LyXText): change order of initialization slightly
2764         (operator=): new function. copy all variables except cache_par_
2765         (moveUp): make sure that we do not compare iterators from
2766         different ParagraphList constainers.
2767         (moveDown): ditto
2768
2769         * text.C (firstPar): new function
2770         (lastPar): new function
2771         (endPar): new function
2772
2773         * lyxtext.h: move things around and group public functions, public
2774         variables, private functions, private variables
2775
2776 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2777
2778         * factory.C: change call to InsetERT constructor to avoid
2779         additional invocation of method status
2780         * text2.C (toggleInset): remove redundant update() call
2781         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2782         instead of a Bufferview pointer
2783
2784 2003-11-21  André Pönitz  <poenitz@gmx.net>
2785
2786         * rowpainter.C: simplification
2787
2788 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2789
2790         * text3.C (dispatch): make possible to extend a word/row selection
2791         with the mouse
2792
2793 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2794
2795         * lyxtext.h: x0_,y0_ -> xo_,yo_
2796         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2797         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2798         * rowpainter.C (paintRows): paint full paragraphs
2799
2800 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2801
2802         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2803         screen coordinates)
2804
2805 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2806
2807         * lyxtext.h: add x0_, y0_
2808         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2809         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2810
2811 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2812
2813         * text2.C (setCursorIntern): move the x_target update here *
2814         * text3.C: change some bv() to true/false in calls to
2815         cursorUp/Down/Right/Left
2816         * cursor.C: use helper function.
2817
2818 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2819
2820         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2821         * paragraph_funcs.[Ch]: correct comment
2822         * rowpainter.C: do not paint selections away from bv->cursor()
2823         Fix a long standing selection painting bug.
2824         * text3.C: generalize mouse-selection code to LyXTexts other that
2825         top one
2826         * textcursor.C: do not use y coords if we can use par offsets
2827
2828 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2829
2830         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2831         cursor position after e.g. inset insert)
2832
2833 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2834
2835         * lyxfind.C (replace): adjust to locking removal + some
2836         code simplification
2837
2838 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2839
2840         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2841         of the path
2842
2843 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2844
2845         * lyxlayout.[Ch]:
2846         * output_docbook.C: XML sanitation: new layout
2847         parameters InnerTag and CommandDepth
2848
2849 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2850
2851         * BufferView_pimpl.C:
2852         * factory.C:
2853         * text3.C: Fix the insertion and modification of button-style
2854         insets
2855
2856 2003-11-13  André Pönitz  <poenitz@gmx.net>
2857
2858         * InsetList.[Ch]: remove deleteLyXText
2859
2860         * paragraph.[Ch]: cache beginOfBody position
2861
2862         * Bidi.C:
2863         * text.C:
2864         * text2.C:
2865         * text3.C: remove superfluous update() calls
2866
2867         * vspace.C: cleanup
2868
2869 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2870
2871         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2872         * BufferView.C (fitLockedInsetCursor): remove
2873         * cursor.[Ch] (getDim): add
2874         * text.C (getRowNearY): add faster version
2875         * text3.C: remove some update calls
2876
2877 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2878
2879         * LaTeXFeatures.C:
2880         * LyXAction.C:
2881         * MenuBackend.C:
2882         * MenuBackend.h:
2883         * dispatchresult.h:
2884         * factory.C:
2885         * lfuns.h:
2886         * lyxfunc.C:
2887         * lyxtextclass.C:
2888         * lyxtextclass.h:
2889         * text3.C: The Character Style /XML short element patch.
2890
2891 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2892
2893         * text3.C:
2894         * factory.C: Small step to solving 'unable to insert some insets'
2895         problem
2896
2897 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2898
2899         * cursor.[Ch] (updatePos): new function for updating the y
2900         position of the tip inset
2901         * bufferview_funcs.C (put_selection_at):
2902         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2903
2904 2003-11-11  André Pönitz  <poenitz@gmx.net>
2905
2906         * text.C: remove big comment on invalid Paragraph pointers as it is
2907         not valid anymore
2908
2909 2003-11-11  André Pönitz  <poenitz@gmx.net>
2910
2911         * text_funcs.[Ch]: merge with ...
2912
2913         * text.C: ... this
2914
2915         * lyxtext.h:
2916         * text2.C:
2917         * text3.C: adjust
2918
2919         * Makefile.am: remove text_funcs.[Ch]
2920
2921 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2922
2923         * cursor.C (getPos): return absolute cached y coord
2924
2925         * BufferView_pimpl.C (fitCursor): new simplistic code
2926         (workAreaDispatch): add a fitCursor call
2927
2928 2003-11-10  André Pönitz  <poenitz@gmx.net>
2929
2930         * BufferView.[Ch]:
2931         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2932
2933 2003-11-10  André Pönitz  <poenitz@gmx.net>
2934
2935         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2936         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2937         indicate that the cursor needs to leave an inset
2938
2939         * lyxtext.h: remove inset locking
2940
2941         * cursor.[Ch]: re-implement functionality provided by inset locking
2942
2943         * BufferView.[Ch]:
2944         * BufferView_pimpl.[Ch]:
2945         * LyXAction.C:
2946         * bufferview_funcs.[Ch]:
2947         * factory.C:
2948         * funcrequest.[Ch]:
2949         * iterators.C:
2950         * lyx_cb.C:
2951         * lyxfind.C:
2952         * lyxfunc.C:
2953         * text.C:
2954         * text2.C:
2955         * text3.C:
2956         * undo.C: adjust
2957
2958 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2959
2960         * PosIterator.[Ch]: replace the stack with a vector, add inset
2961         accesor
2962         * iterators.[C]: adjust
2963
2964 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2965
2966         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2967         replaced
2968         * paragraph_funcs.C (readParToken): put the correct id in the
2969         error item, not the id of the top paragraph
2970
2971 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2972
2973         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2974         * bufferview_funcs.C (put_selection_at): use the above
2975
2976 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2979
2980 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2981
2982         * output_linuxdoc.h:
2983         * output_plaintext.h:
2984         * output.h:
2985         * output_docbook.h: add #include statements
2986
2987 2003-11-05  José Matos  <jamatos@lyx.org>
2988
2989         * output_docbook.[Ch]:
2990         * output_latex.[Ch]:
2991         * output_linuxdoc.[Ch]:
2992         * output_plaintext.[Ch]: New files for output formats.
2993         * output.[Ch]: New file for helper functions.
2994
2995         * buffer.[Ch]:
2996         * paragraph_funcs.[Ch]: output functions moved to new files.
2997
2998         * outputparams.h: rename of latexrunparams.h
2999
3000         * LaTeX.[Ch]:
3001         * buffer.[Ch]:
3002         * bufferlist.[Ch]:
3003         * converter.[Ch]:
3004         * exporter.C:
3005         * paragraph.[Ch]:
3006         * paragraph_funcs.[Ch]:
3007         * paragraph_pimpl.[Ch]:
3008         * tabular.[Ch]: rename ascii to plaintext
3009         and LatexRunParams to OutputParams.
3010
3011 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3012
3013         * iterators.[Ch] (text): require bv argument
3014         * undo.C (recordUndo):
3015         * lyxfunc.C (dispatch):
3016         * bufferview_funcs.C (put_selection_at): adjust
3017
3018 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3019
3020         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3021
3022 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3023
3024         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3025         nestings
3026
3027 2003-11-04  André Pönitz  <poenitz@gmx.net>
3028
3029         * cursor.[Ch]: restructure
3030
3031         * BufferView.[Ch]:
3032         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3033
3034         * iterators.[Ch] (asCursor): remove
3035
3036         * lfuns.h: remove LFUN_INSET_EDIT
3037
3038         * lyxfunc.C:
3039         * tabular.C:
3040         * text.C:
3041         * text2.C:
3042         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3043
3044 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3045
3046         * lyxfind.[Ch]: complete overhaul
3047         * BufferView_pimpl.C:
3048         * lyxfunc.C: adjust
3049         * paragraph.[Ch] (insert): add
3050
3051 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3052
3053         * BufferView.[Ch]:
3054         * lyxtext.h:
3055         * text.C: remove dead spellcheck code
3056
3057 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * dispatchresult.h: add a val setter
3060
3061         * cursor.C (dispatch): use a tempvar for data_[i]
3062
3063 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * PosIterator.[Ch]: compile fix
3066
3067 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * text.C (cursorPar): deactivate the cursor cache
3070
3071 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3072
3073         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3074
3075 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3076
3077         * text3.C (dispatch): adjust for new DisptchResult semantics.
3078
3079         * lyxfunc.C (dispatch): handle update when return from
3080         Cursor::dispatch, adjust for new DispatchResult semantics.
3081
3082         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3083         DispatchResult(true) mean to not update. Add class functions for
3084         setting dispatched and update, as well as reading.
3085
3086         * cursor.C (dispatch): don't handle update here
3087
3088 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3091         * trans_mgr.C: adjust
3092
3093         * paragraph_funcs.C (readParToken): exception safety
3094
3095         * lyxvc.h: store the vcs pointer in a scoped_ptr
3096         * lyxvc.C: adjust
3097
3098         * lyxsocket.C (serverCallback): exception safety
3099
3100         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3101
3102         * ispell.C (clone): make it return a auto_ptr
3103
3104         * factory.C (createInset): exception safety
3105         (readInset): exception safety
3106
3107         * bufferlist.C (newBuffer): exception safety
3108
3109         * Thesaurus.C (Thesaurus): use initialization for aik_
3110
3111         * MenuBackend.C (expandToc): exception safety.
3112
3113 2003-11-03  André Pönitz  <poenitz@gmx.net>
3114
3115         * buffer.C:
3116         * buffer.h:
3117         * bufferview_funcs.C: remove getInsetFromId()
3118
3119         * lyxcursor.[Ch]:
3120         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3121
3122         * lyxfunc.C:
3123         * text2.C:
3124         * text3.C: adjust
3125
3126 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3127
3128         * PosIterator.C (distance, advance): new
3129         * bufferview_funcs.[Ch] (put_selection_at): new
3130         * iterators.[Ch] (lockPath): new
3131
3132 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3133
3134         * iterators.[Ch] (asPosIterator): added
3135         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3136         * PosIterator.[Ch]: added
3137
3138 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * text3.C:
3141         * lyxfunc.C:
3142         * cursor.C (dispatch):
3143         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3144
3145         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3146         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3147         contructor, add a class function dispatched. Remove operator>=
3148
3149 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3150
3151         * debug.C: only use the default constructor for debugstream
3152         (lyxerr) here.
3153
3154         * main.C (main): include debug.h and setup the lyxerr streambuf
3155         here.
3156
3157 2003-10-31  José Matos  <jamatos@lyx.org>
3158
3159         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3160
3161         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3162         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3163         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3164         * paragraph_pimpl.C (simpleTeXSpecialC):
3165         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3166         add LatexRunParams argument.
3167
3168         * exporter.C (Export): change call accordingly.
3169
3170         * latexrunparams.h: add new member to take care of the other backends.
3171 2003-10-30  José Matos  <jamatos@lyx.org>
3172
3173         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3174         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3175         factorise code for paragraph output.
3176         * buffer.[Ch]:
3177         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3178         move functions.
3179
3180 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * text3.C (dispatch):
3183         * lyxfunc.C (dispatch):
3184         * cursor.C (dispatch):
3185         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3186
3187         * dispatchresult.h: make the dispatch_result_t ctor explicit
3188
3189 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3190
3191         * sgml.[Ch]:
3192         * buffer.C: small refactoring of docbook stuff
3193
3194 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3195
3196         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3197         meaning.
3198
3199 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3202         operator dispatch_result_t, and operators for == != and >=
3203
3204         * cursor.C (dispatch): adjust for operator dispatch_result_t
3205         removal. comment out call to update
3206
3207         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3208
3209 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * text3.C:
3212         * text2.C:
3213         * text.C:
3214         * lyxtext.h:
3215         * lyxfunc.C:
3216         * cursor.C:
3217         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3218         (dispatch):
3219
3220         * dispatchresult.h: new file, DispatchResult broken out of
3221         insets/insetbase.h
3222
3223         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3224
3225 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3226
3227         * text.C (rowBreakPoint): put a hack inside #if 0
3228
3229 2003-10-28  André Pönitz  <poenitz@gmx.net>
3230
3231         * lyxtext.h:
3232         * metricsinfo.C:
3233         * paragraph_funcs.C:
3234         * rowpainter.C:
3235         * text.C:
3236         * text2.C: general cleanup (lots of small stuff)
3237
3238 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3239
3240         * text2.C (cursorEnd): simple fix to the "end key goes to one
3241         before the end on last row" bug
3242
3243 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * text.C (backspace): fix the "zombie characters"
3246
3247 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3248
3249         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3250
3251 2003-10-27  André Pönitz  <poenitz@gmx.net>
3252
3253         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3254
3255         * factory.C: handle new InsetPagebreak, InsetLine
3256
3257         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3258         and move handling into new InsetPagebreak, InsetLine
3259
3260         * BufferView_pimpl.C:
3261         * LyXAction.C:
3262         * ParagraphParameters.C:
3263         * ParameterStruct.h:
3264         * lyxfunc.C:
3265         * lyxtext.h:
3266         * paragraph.C:
3267         * paragraph.h:
3268         * paragraph_funcs.C:
3269         * paragraph_pimpl.C:
3270         * rowpainter.C:
3271         * text.C:
3272         * text2.C:
3273         * text3.C: adjust
3274
3275 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3276
3277         * text.C:
3278         * lyxrow_funcs.[Ch]:
3279         * Bidi.C:
3280         * paragraph.C:
3281         * lyxtext.h:
3282         * rowpainter.C:
3283         * text2.C:
3284         * text3.C: remove lastPos uses in favour of Row::endpos
3285
3286 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3287
3288         * undo.C (performUndoOrRedo): fix two crashes by setting a
3289         cursor by hand and reordering some calls. Use bv->lockInset instead
3290         of inset->edit because the latter loses cursor information
3291
3292 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3295         by Martin
3296         (rowBreakPoint): fix width. change point to point + 1.
3297         Add a missing check.
3298
3299 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3300
3301         * MenuBackend.C:
3302         * lyxfunc.C: fix (at least partly) the problems
3303         with the Nav menu and headers inside branch insets
3304         reported by Kayvan
3305
3306 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3307
3308         * paragraph.C (getChar): add strong asserts
3309
3310         * lyxrow_funcs.C (lastPos): remove hideous hack
3311
3312         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3313         (fill): adjust to that (avoid an infinite loop)
3314
3315 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3316
3317         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3318
3319 2003-10-23  André Pönitz  <poenitz@gmx.net>
3320
3321         * RowList_fwd.h: change list<> to vector<> to gain speed
3322         after suggestion from Alfredo
3323
3324 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3325
3326         * lyxtext.h: move the bidi stuff from here...
3327         * text.C: and here
3328         * text2.C: and here
3329         * Bidi.[Ch]: ... to here
3330
3331 2003-10-23  André Pönitz  <poenitz@gmx.net>
3332
3333         * lyxtext.h:
3334         * text.C (isLastRow, isFirstRow): new functions
3335
3336         * paragraph.h: new width cache member
3337
3338         * rowpainter.C: replace RowList::iterator with Row & where possible
3339
3340         * lyxfunc.C: replace several view()->text with a single call
3341
3342         * toc.C: fix 'unused' warning
3343
3344 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3347         when woring with stream::pos_type
3348         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3349
3350 2003-10-22  André Pönitz  <poenitz@gmx.net>
3351
3352         * lyxtext.h:
3353         * text.C: use Row & instead of RowList::iterator
3354
3355         * lyxrow.h: rename end() to endpos()
3356
3357         * rowpainter.C:
3358         * text.C:
3359         * text2.C: adjust
3360
3361 2003-10-22  Angus Leeming  <leeming@lyx.org>
3362
3363         * buffer.[Ch] (fully_loaded): new member function, returning true
3364         only when the file has been loaded fully.
3365         Used to prevent the premature generation of previews and by the
3366         citation inset to prevent computation of the natbib-style label.
3367
3368         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3369         templates are all set up.
3370
3371         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3372
3373 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * text.C: fixed an "oops" in the "is a bit silly"
3376         bug fix
3377
3378 2003-10-21  André Pönitz  <poenitz@gmx.net>
3379
3380         * FuncStatus.[Ch]: small stuff, whitespace
3381
3382         * lyxfont.[Ch]: operator<<() for debug reasons
3383
3384         * lyxfunc.C:
3385         * lyxrow_funcs.C:
3386         * lyxtext.h: whitespace, spelling
3387
3388         * paragraph.C: naming of variables
3389
3390         * text.C:
3391         * text2.C: small stuff
3392
3393
3394 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3395
3396         * text.C: (1) finish off the inset display() work;
3397         (2) fix the "is a bit silly" bug (accessing char
3398         past end of par).
3399
3400 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3401
3402         * text.C: re-introduce display() for insets, fixing the
3403         various bugs (stretch of line above, math inset
3404         positioning, ...)
3405
3406 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3407
3408         * text.C (rightMargin): remove spurious semicolon
3409
3410         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3411         1415)
3412
3413 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3414
3415         * text3.C: fix one crash due to wrong cursor def
3416
3417 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3418
3419         * vc-backend.C (scanMaster): make the regex static
3420
3421         * LaTeX.C (scanAuxFile): make the regexs static
3422
3423         * text3.C (doInsertInset, dispatch, dispatch):
3424         * text2.C (cursorUp, cursorDown):
3425         * text.C (selectNextWordToSpellcheck):
3426         * BufferView_pimpl.C (dispatch):
3427         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3428
3429 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3430
3431         * lyxsocket.C: include <cerrno>
3432
3433 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3434
3435         * lyxfunc.C (dispatch): remove textcache stuff
3436
3437         * bufferlist.C (release): remove textcache stuff
3438         (closeAll): ditto
3439
3440         * TextCache.C: delete file
3441         * TextCache.h: delete file
3442
3443         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3444
3445         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3446         delete of the bv_->text.
3447         (resizeCurrentBuffer): remove texcache stuff
3448         (workAreaResize): ditto
3449
3450 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3453         action.
3454
3455 2003-10-16  André Pönitz  <poenitz@gmx.net>
3456
3457         * lyxrow.[Ch]:
3458         * paragraph.h:
3459         * rowpainter.C:
3460         * text.C:
3461         * text2.C:
3462         * text3.C: speed up by storing y positions per paragraph plus per-row
3463         offset instead of having a 'full' y position in the row.
3464
3465 2003-10-15  André Pönitz  <poenitz@gmx.net>
3466
3467         * iterators.[Ch]:
3468         * iterators.[Ch]:
3469         * undo.[Ch]: make undo aware of inner insets
3470
3471 2003-10-14  Angus Leeming  <leeming@lyx.org>
3472
3473         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3474         static member functions LyX::ref() and LyX::cref.
3475         (lastfiles): new accessor functions for the new lastfiles_ member var.
3476         (addLyXView, views_): add a new LyXView to the list of views_.
3477         (updateInset): loop over all LyXViews to call their own updateInset
3478         member function, returning a pointer to the Buffer owning the inset.
3479
3480         * BufferView_pimpl.C (loadLyXFile):
3481         * MenuBackend.C (expandLastfiles):
3482         * bufferlist.C (MenuWrite, QuitLyX):
3483         lastfiles is no longer a global variable.
3484         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3485
3486         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3487         static function. Access through LyX::cref().emergencyCleanup().
3488
3489 2003-10-14  André Pönitz  <poenitz@gmx.net>
3490
3491         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3492
3493         * undo.[Ch]: restoring part of 'undo in insets'
3494
3495         * Makefile.am:
3496         * undo_funcs.[Ch]: merge with undo.[Ch]
3497
3498         * tabular.C: small cleansing stuff
3499
3500 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3501
3502         * paragraph_funcs.C (readParToken): report unknown insets as error
3503         boxes. Use the outer paragraph as location (also for unknown
3504         tokens).
3505
3506         * factory.C (readInset): do not abort on reading an unknown inset.
3507         Eat it and return 0.
3508
3509 2003-10-13  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3512
3513         * lyxrc.C: displayTranslator is now a function,
3514         declared in GraphicsTypes.h.
3515
3516 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3517
3518         * format.C: new placeholder $$a to pass the socket address.
3519
3520         * bufferlist.[Ch]: new function getBufferFromTmp.
3521
3522         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3523           files in the temporary dir.
3524
3525 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3526
3527         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3528
3529         * Makefile.am: add lyxsocket.[Ch].
3530
3531         * lyx_main.C (error_handler): handle SIGPIPE.
3532
3533 2003-10-13  André Pönitz  <poenitz@gmx.net>
3534
3535         * BufferView_pimpl.C:
3536         * lyxtext.h:
3537         * text.C:
3538         * text2.C:
3539         * text3.C:
3540         * undo_funcs.[Ch]: use paroffset_type instead of
3541           ParagraphList::iterators to prevent multiple conversion
3542           (and get a more robust interface)
3543
3544 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3545
3546         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3547         * lyxtext.h: ditto
3548         * text3.C (dispatch): ditto
3549
3550 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3551
3552         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3553         move the onlyfile, use onlyfile instead of foundfile in a couple
3554         of places.
3555
3556         * DepTable.C (update): flush the error stream a bit more
3557
3558 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3559
3560         * lyxserver.C (callback): adjust
3561
3562         * lyxfunc.C (getStatus): add a missing brace in commented code
3563         (ensureBufferClean): reindent
3564         (dispatch): delete version taking a string
3565
3566 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3567
3568         * LaTeX.C (deplog): move found file handlig from here...
3569         (handleFoundFile): .. to new function here.
3570         (deplog): make sure to discover several files mentioned on the
3571         same log line.
3572
3573 2003-10-10  André Pönitz  <poenitz@gmx.net>
3574
3575         * lyxfunc.C:
3576         * lyxtext.h:
3577         * tabular.C:
3578         * text.C:
3579         * text2.C:
3580         * text3.C: fix some of the tabular crashes
3581
3582 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3583
3584         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3585
3586         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3587
3588 2003-10-09  André Pönitz  <poenitz@gmx.net>
3589
3590         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3591
3592         * BufferView.C:
3593         * BufferView_pimpl.C:
3594         * bufferview_funcs.C:
3595         * lyx_cb.C:
3596         * lyxcursor.C:
3597         * lyxfind.C:
3598         * lyxfunc.C:
3599         * lyxtext.h:
3600         * text.C:
3601         * text2.C:
3602         * text3.C:
3603         * text_funcs.[Ch]:
3604         * textcursor.[Ch]:
3605         * undo_funcs.C: adjust
3606
3607 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3608
3609         * text2.C (incrementItemDepth): new function, use a backtracking
3610         algorithm to discover the correct item depth.
3611         (resetEnumCounterIfNeeded): new function, use a backtracking
3612         algorithm to discover if counter reset is needed.
3613         (setCounter): use them. Simplify a bit. Add different labels for
3614         different item depths for itemize.
3615
3616         * paragraph.C (Paragraph): remove initialization of enumdepth
3617         (operator=): ditto
3618
3619         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3620         enumerate and itemize. Change the type of itemdepth to signed char.
3621
3622 2003-10-08  André Pönitz  <poenitz@gmx.net>
3623
3624         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3625           thing assignable.
3626         * text.C:
3627         * text2.C: adjust
3628
3629         * tabular.[Ch]: fix crash after 'row-insert'
3630
3631 2003-10-08  Angus Leeming  <leeming@lyx.org>
3632
3633         Fix doxygen warnings.
3634
3635         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3636         Remove CutAndPaste:: prefix from header file declaration.
3637
3638         * LColor.h (fill): remove LColor:: prefix from declaration.
3639
3640         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3641         use lyx::depth_type rather than Paragraph::depth_type so that
3642         header file and .C file match.
3643
3644         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3645
3646         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3647         * aspell.C: \file aspell_local.C -> \file aspell.C
3648         * gettext.C: \file gettext.C -> \file src/gettext.C
3649         * gettext.h: \file gettext.h -> \file src/gettext.h
3650         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3651         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3652         * text.C: \file text.C -> \file src/text.C
3653
3654         * toc.C: move comment so that doxygen is not confused.
3655
3656 2003-10-07  Angus Leeming  <leeming@lyx.org>
3657
3658         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3659
3660 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3661
3662         * aspell.C:
3663         * aspell_local.h: add forgotten std::string's.
3664
3665 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3666
3667         * LaTeXFeatures.C:
3668         * LyXAction.C:
3669         * factory.C:
3670         * lfuns.h:
3671         * lyxfunc.C:
3672         * text3.C: The Box patch. Fancybox support, minipage, parbox
3673
3674 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3675
3676         * CutAndPaste.h:
3677         * DepTable.h:
3678         * FloatList.h:
3679         * LaTeXFeatures.h:
3680         * ParagraphParameters.h:
3681         * TextCache.h:
3682         * Thesaurus.h:
3683         * bufferlist.h:
3684         * exporter.h:
3685         * importer.h:
3686         * lastfiles.h:
3687         * lyxfind.h:
3688         * lyxfont.h:
3689         * lyxlex.h:
3690         * lyxtextclasslist.h:
3691         * messages.h:
3692         * paragraph.h:
3693         * paragraph_pimpl.C:
3694         * textcursor.h: add <string> and other small fixes to make Lars'
3695         std::string patch compile with STLport.
3696
3697 2003-10-06  Angus Leeming  <leeming@lyx.org>
3698
3699         * LColor.h: Add missing #include <string>.
3700
3701 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * All most all file in all subdirs: Make <string> be the prefered
3704         way of getting to std::string, add using declarations.
3705
3706 2003-10-06  André Pönitz  <poenitz@gmx.net>
3707
3708         * metricsinfo.C: initialize LyXFont before changing attribute.
3709         (fixes the 'math in \emph is upright' bug)
3710
3711 2003-10-06  André Pönitz  <poenitz@gmx.net>
3712
3713         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3714
3715 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3716
3717         * graph.C:
3718         * paragraph_pimpl.C: Small fixes to build using STLport
3719
3720 2003-10-02  André Pönitz  <poenitz@gmx.net>
3721
3722         * lyxfunc.C:
3723         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3724
3725 2003-10-01  André Pönitz  <poenitz@gmx.net>
3726
3727         * factory.C: assert early
3728
3729 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * lyx_main.C: remove the global debug object
3732
3733         * debug.h: adjust for new debugstream
3734
3735         * debug.C: adjust for new debugstream and keep the global debug
3736         object here.
3737
3738 2003-09-22  Angus Leeming  <leeming@lyx.org>
3739
3740         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3741         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3742         an incomplete class LyXFont.
3743
3744 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3745
3746         * factory.C: bug fix in branches
3747
3748 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3749
3750         * lyxfunc.C (processKeySym): adjust
3751         (dispatch): adjust
3752         (dispatch): change arg name from ev to func, adjust
3753         (sendDispatchMessage): ditto
3754
3755         * lyx_main.C (defaultKeyBindings): adjust keybindings
3756         (deadKeyBindings): ditto
3757
3758         * kbsequence.C (addkey): return a FuncRequest
3759
3760         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3761
3762         * kbmap.C (bind): take a FuncRequest as arg, adjust
3763         (read): adjust
3764         (lookup): adjust
3765         (defkey): change to take a FuncRequest as arg, adjust
3766         (findbinding): take a FuncRequest as arg, adjust.
3767
3768         * funcrequest.h (operator=): added
3769
3770         * funcrequest.C (FuncRequest): default kb_action changed from
3771         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3772
3773         * buffer.C (dispatch): simplify
3774         (dispatch): adjust to take a FuncRequest as arg, adjust
3775
3776         * boost.C (assertion_failed): change assertion message slightly
3777
3778         * ToolbarBackend.C (read): simplify
3779
3780         * MenuBackend.C (binding): adjust call to findbinding, add a
3781         message if no binding is found.
3782         (read): simplify
3783         (expandToc): correct by adding a empty FuncRequest
3784
3785         * LyXAction.C: include <boost/assert.hpp>
3786         (isPseudoAction): delete function
3787         (LookupFunc): change name to...
3788         (lookupFunc): this. change return type to FuncRequest.
3789         (getActionName): take kb_action as arg, simplify
3790         (funcHasFlag): add an assert, simplify.
3791
3792 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3793
3794         * toc.C (action): return a FuncRequest, simplify
3795
3796         * lyxfunc.C (processKeySym): adjust
3797         (getStatus): delete version that takes an int.
3798         (getStatus): adjust
3799         (dispatch): delete version that takes action as int
3800         (dispatch): adjust
3801         (sendDispatchMessage): simplify and adjust
3802
3803         * funcrequest.C (getArg): take unsigned int as arg
3804
3805         * ToolbarBackend.C (read): adjust
3806         (add): delete version that takes func as a string.
3807         (getIton): take a FuncRequest as arg
3808
3809         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3810         action.
3811
3812         * MenuBackend.C (MenuItem): add a new construct that only takes a
3813         Kind, simplify the constructor use for submenus.
3814         (add): adjust
3815         (expandLastfiles): adjust
3816         (expandDocuments): adjust
3817         (expandFormats): adjust
3818         (expandFloatListInsert): adjust
3819         (expandFloatInsert): adjust
3820         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3821
3822         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3823         Remove class variables lyx_pseudo_map and lyx_arg_map
3824
3825         * LyXAction.C (searchActionArg): delete function
3826         (getPseudoAction): delete function
3827         (retrieveActionArg): delete function
3828         (LookupFunc): make it return kb_action, simplify.
3829         (getActionName): simplify
3830
3831         * factory.C (createInset): fix new bug
3832
3833 2003-09-19  Angus Leeming  <leeming@lyx.org>
3834
3835         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3836         masterFilename_ parameter in the include inset.
3837
3838         * factory.C (createInset): changes due to the changes to InsetInclude.
3839
3840 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3841
3842         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3843
3844 2003-09-18  Angus Leeming  <leeming@lyx.org>
3845
3846         * buffer.C:
3847         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3848         Inset::fillWithBibKeys.
3849         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3850
3851 2003-09-18  Angus Leeming  <leeming@lyx.org>
3852
3853         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3854         variables.
3855         (ctor): pass and store a 'Buffer const &'
3856         (buffer): new member function.
3857
3858         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3859         '*this' to the LaTeXFeatures ctor.
3860
3861 2003-09-18  Angus Leeming  <leeming@lyx.org>
3862
3863         * LColor.h:
3864         * lyxfont.C:
3865         * lyxfont.h:
3866         * lyxtext.h:
3867         * text.C: rename EnumLColor as LColor_color.
3868
3869 2003-09-18  Angus Leeming  <leeming@lyx.org>
3870
3871         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3872         remove #include "insets/insetbase.h" from cursor.h.
3873
3874 2003-09-18  Angus Leeming  <leeming@lyx.org>
3875
3876         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3877         InsetOld_code to remove #include "inset.h".
3878
3879         * iterators.C: add #include "insets/inset.h"
3880
3881 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3882
3883         * BufferView.C: remove more locking stuff that apparently doesn't
3884         do anything sensible.
3885
3886 2003-09-16  André Pönitz  <poenitz@gmx.net>
3887
3888         * paragraph.[Ch]:
3889         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3890           performance boost.
3891
3892 2003-09-16  Angus Leeming  <leeming@lyx.org>
3893
3894         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3895
3896         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3897         arg/return type.
3898
3899         * paragraph.h: remove #include "lyxfont.h". Forward declare
3900         LyXFont_size.
3901
3902 2003-09-16  Angus Leeming  <leeming@lyx.org>
3903
3904         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3905         of support/textutils.h.
3906         (isWord): move the contents of support/textutils.h's IsWordChar here.
3907
3908         * buffer.C:
3909         * lyxfind.C:
3910         * rowpainter.C:
3911         * text.C:
3912         * text2.C: add #include "paragraph.h".
3913
3914         * rowpainter.C:
3915         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3916
3917 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3918
3919         * main.C:
3920         * lyx_main.C:
3921         * lyx_cb.C:
3922         * buffer.C:
3923         * LaTeX.C: use namespace alias for lyx::support::os
3924
3925 2003-09-16  Angus Leeming  <leeming@lyx.org>
3926
3927         * bufferparams.C:
3928         * bufferview_funcs.C:
3929         * factory.C:
3930         * lyxfunc.C:
3931         * paragraph_pimpl.C:
3932         * rowpainter.C:
3933         * text.C: add #include "LColor.h".
3934
3935 2003-09-16  Angus Leeming  <leeming@lyx.org>
3936
3937         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3938         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3939         return LyXFont &.
3940         Store the FontBits::color variable as an int rather than as an
3941         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3942         file.
3943
3944         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3945         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3946         string calls together.
3947
3948         * lyxrc.C: add #include "LColor.h".
3949
3950 2003-09-15  Angus Leeming  <leeming@lyx.org>
3951
3952         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3953         a cow_ptr.
3954
3955 2003-09-15  Angus Leeming  <leeming@lyx.org>
3956
3957         * LColor.h: add an EnumLColor wrapper for LColor::color.
3958
3959         * lyxfont.[Ch] (color, setColor, realColor):
3960         * lyxtext.h, text.C (backgroundColor):
3961         pass EnumLColor args to/from the functions, rather than LColor::color
3962         ones.
3963
3964         * lyxfont.h:
3965         * lyxtext.h: forward declare EnumLColor.
3966
3967         * lyx_main.C: add #include "LColor.h".
3968
3969 2003-09-15  Angus Leeming  <leeming@lyx.org>
3970
3971         * .cvsignore: add lyx-gtk.
3972
3973 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3974
3975         * Chktex.C
3976         * LaTeX.C
3977         * LaTeXFeatures.C
3978         * ParagraphParameters.C
3979         * Spacing.C
3980         * buffer.C
3981         * bufferparams.C
3982         * bufferview_funcs.C
3983         * chset.C
3984         * counters.C
3985         * funcrequest.C
3986         * lyxfont.C
3987         * lyxgluelength.C
3988         * lyxlength.C
3989         * paragraph.C
3990         * paragraph_funcs.C
3991         * text3.C
3992         * vc-backend.C: remove usage of STRCONV
3993
3994 2003-09-15  Angus Leeming  <leeming@lyx.org>
3995
3996         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3997         explicitly define the color passed to the painter.
3998
3999 2003-09-15  Angus Leeming  <leeming@lyx.org>
4000
4001         * bufferparams.C (BufferParams): reorder member initializers to avoid
4002         compiler warning.
4003
4004 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4005
4006         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4007         * text.C (updateRowPositions): remove an unusual nop
4008
4009 2003-09-12  André Pönitz  <poenitz@gmx.net>
4010
4011         * BufferView_pimpl.C:
4012         * Bullet.C:
4013         * layout.h:
4014         * lyxfunc.C:
4015         * lyxlayout.[Ch]:
4016         * lyxtextclass.C:
4017         * rowpainter.C:
4018         * text.C:
4019         * text2.C:
4020         * Counters.[Ch]: finish the 'automatic counters' job
4021
4022 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4023
4024         * aspell.C: include <boost/assert.cpp> (compile fix)
4025
4026 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4027
4028         * boost.C (assertion_failed): use lyx::support::abort instead of
4029         assert.
4030
4031 2003-09-10  Angus Leeming  <leeming@lyx.org>
4032
4033         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4034         with their _fwd progeny.
4035
4036 2003-09-09  Angus Leeming  <leeming@lyx.org>
4037
4038         134 files throughtout the source tree: replace 'using namespace abc;'
4039         directives with the appropriate 'using abc::xyz;' declarations.
4040
4041 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4042
4043         * boost.C (emergencyCleanup): moved here from LAssert.c
4044         (assertion_failed): new function, called by BOOST_ASSERT
4045
4046         * several files: change Assert to BOOST_ASSERT
4047
4048 2003-09-09  Angus Leeming  <leeming@lyx.org>
4049
4050         * buffer.[Ch]: Add an Impl class and move Buffer's member
4051         variables into it. As a result move several header files out of
4052         buffer.h.
4053
4054         Add header files to lots of .C files all over the tree as a result.
4055
4056 2003-09-09  Angus Leeming  <leeming@lyx.org>
4057
4058         * buffer.[Ch]: make Buffer's member variables private. Add
4059         accessor functions.
4060
4061         Lots of changes all over the tree as a result.
4062
4063 2003-09-08  Angus Leeming  <leeming@lyx.org>
4064
4065         * graph.C: #include <config.h>.
4066
4067 2003-09-08  Angus Leeming  <leeming@lyx.org>
4068
4069         * BranchList.C:
4070         * BufferView.C:
4071         * BufferView_pimpl.C:
4072         * CutAndPaste.C:
4073         * DepTable.C:
4074         * LaTeX.C:
4075         * LaTeXFeatures.C:
4076         * LyXAction.C:
4077         * MenuBackend.C:
4078         * TextCache.C:
4079         * aspell.C:
4080         * buffer.C:
4081         * bufferlist.C:
4082         * changes.C:
4083         * chset.C:
4084         * converter.C:
4085         * counters.C:
4086         * debug.C:
4087         * graph.C:
4088         * ispell.C:
4089         * lyx_cb.C:
4090         * lyxfind.C:
4091         * lyxfunc.C:
4092         * lyxlex_pimpl.C:
4093         * lyxrc.C:
4094         * lyxrow.C:
4095         * paragraph.C:
4096         * rowpainter.C:
4097         * texrow.C:
4098         * text.C:
4099         * text2.C:
4100         * toc.C: remove redundant using directives.
4101
4102 2003-09-07  Angus Leeming  <leeming@lyx.org>
4103
4104         * LaTeXFeatures.h: remove #include "support/types.h".
4105         * ToolbarBackend.h: remove #include <algorithm>.
4106         * changes.h: remove #include <ctime>.
4107         * debug.h: remove #include <iosfwd>.
4108         * graph.h: remove #include "support/std_string.h".
4109         * lyx_main.h: remove #include <csignal>.
4110         * lyxlex_pimpl.h: remove #include <fstream>.
4111         * sgml.h: remove #include <algorithm>, <utility>.
4112         * toc.h: remove #include "support/std_ostream.h".
4113         Add #include <iosfwd>.
4114
4115 2003-09-07  Angus Leeming  <leeming@lyx.org>
4116
4117         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4118
4119         * converter.h: forward declare LatexRunParams.
4120         * encoding.h: remove #include "lyxrc.h".
4121         * lyxtext.h: remove #include "LColor.h".
4122         * lyxtextclass.h: remove #include "support/types.h".
4123         * trans.h: remove #include "tex-accent.h".
4124         * trans_mgr.h: remove #include "tex-accent.h".
4125         * insets/inset.h: remove #include "support/types.h", <vector>.
4126         * insets/insetcollapsable.h: remove #include "LColor.h".
4127         * insets/insetinclude.h: remove #include "dimension.h".
4128         * insets/insetlatexaccent.h: remove #include "dimension.h".
4129         * insets/insetoptarg.h:: remove #include "insettext.h".
4130         * insets/insettext.h: remove #include "dimension.h",
4131         <boost/shared_ptr.hpp>
4132
4133         * insets/renderers.h: add #include "dimension.h".
4134         * insets/updatableinset.h: add #include "support/types.h".
4135
4136         * many .C files: Associated changes.
4137
4138 2003-09-06  Angus Leeming  <leeming@lyx.org>
4139
4140         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4141         one, inside testInvariant.
4142
4143         * PrinterParams.C: new file.
4144         * PrinterParams.[Ch]: move the function bodies out of line.
4145
4146 2003-09-06  Angus Leeming  <leeming@lyx.org>
4147
4148         * ParagraphParameters.h: forward declare ParameterStruct rather than
4149         including its header file.
4150         (depth): moved out-of-line.
4151
4152 2003-09-06  Angus Leeming  <leeming@lyx.org>
4153
4154         * BufferView_pimpl.h:
4155         * kbmap.h:
4156         * kbsequence.h:
4157         * lyxfunc.h: forward declare LyXKeySym rather than
4158         #include "frontends/LyXKeySym.h".
4159
4160         * BufferView_pimpl.C:
4161         * kbmap.C:
4162         * kbsequence.C:
4163         * lyxfunc.C: associated changes.
4164
4165 2003-09-06  Angus Leeming  <leeming@lyx.org>
4166
4167         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4168         As a result, can remove the #include "insets/inset.h" from BufferView.h
4169
4170 2003-09-06  Angus Leeming  <leeming@lyx.org>
4171
4172         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4173         As a result, can remove the #include "insets/inset.h" from BufferView.h
4174
4175 2003-09-06  Angus Leeming  <leeming@lyx.org>
4176
4177         * buffer_funcs.C:
4178         * buffer.h:
4179         * bufferlist.C:
4180         * BufferView.C:
4181         * bufferview_funcs.C:
4182         * BufferView_pimpl.C:
4183         * CutAndPaste.C:
4184         * lyx_cb.C:
4185         * lyxfunc.C:
4186         * paragraph.h:
4187         * ParagraphParameters.C:
4188         * tabular.C:
4189         * text3.C:
4190         * toc.C:
4191         * undo_funcs.C:
4192         * frontends/controllers/ControlDocument.C:
4193         * insets/insetcaption.C: rearrange the #includes into some sort of
4194         coherent order.
4195
4196         * buffer.h: remove #includes ErrorList.h, undo.h
4197
4198 2003-09-06  Angus Leeming  <leeming@lyx.org>
4199
4200         * support/types.h: add a 'depth_type' typedef, used to store the
4201         nesting depth of a paragraph.
4202
4203         * paragraph.h:
4204         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4205         defining explicitly.
4206
4207         * buffer.h:
4208         * paragraph_funcs.h:
4209         * ParagraphParameters.h:
4210         * sgml.h: use lyx::depth_type rather than Paragraph or
4211         ParameterStruct's depth_type.
4212
4213         * buffer.h
4214         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4215
4216         * BufferView.C:
4217         * BufferView_pimpl.C:
4218         * CutAndPaste.C:
4219         * ParagraphParameters.C:
4220         * buffer_funcs.C:
4221         * bufferlist.C:
4222         * bufferview_funcs.C:
4223         * lyx_cb.C:
4224         * lyxfunc.C:
4225         * tabular.C:
4226         * text3.C:
4227         * toc.C:
4228         * undo_funcs.C:
4229         * frontends/LyXView.C:
4230         * frontends/controllers/ControlDocument.C:
4231         * frontends/controllers/ControlErrorList.C:
4232         * insets/insetbibitem.C:
4233         * insets/insetbranch.C:
4234         * insets/insetcaption.C:
4235         * insets/insetcollapsable.C:
4236         * insets/insetenv.C:
4237         * insets/insetert.C:
4238         * insets/insetfloat.C:
4239         * insets/insetfoot.C:
4240         * insets/insetfootlike.C:
4241         * insets/insetnewline.C:
4242         * insets/insetquotes.C:
4243         * insets/insettabular.C:
4244         * insets/insettext.C:
4245         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4246
4247         * frontends/controllers/ControlChanges.C: #include "changes.h".
4248
4249 2003-09-06  Angus Leeming  <leeming@lyx.org>
4250
4251         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4252         than #including paragraph.h.
4253
4254         * ParagraphList.h:
4255         * RowList.h: deleted. Superfluous.
4256
4257         * CutAndPaste.h:
4258         * iterators.h:
4259         * lyxcursor.h:
4260         * lyxtext.h:
4261         * text_funcs.h:
4262         * undo.h:
4263         * undo_funcs.h:
4264         * insets/inset.h:
4265         * insets/insettext.h: use ParagraphList_fwd.h rather than
4266         ParagraphList.h.
4267
4268         * paragraph.h: don't forward declare ParagraphList.
4269
4270         * buffer.h:
4271         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4272         rather than ParagraphList.h. paragraph.h is still needed for the
4273         Paragraph::depth_type parameters.
4274
4275         * textcursor.h: enable it to compile stand-alone in light of the
4276         above changes.
4277
4278         * bufferview_funcs.C:
4279         * iterators.C:
4280         * lyxfunc.C:
4281         * lyxrow_funcs.C:
4282         * paragraph.C:
4283         * rowpainter.C:
4284         * text.C:
4285         * text2.C:
4286         * text3.C:
4287         * text_funcs.C:
4288         * textcursor.C:
4289         * undo.C:
4290         * frontends/controllers/ControlParagraph.C:
4291         * frontends/controllers/ControlTabular.C:
4292         * insets/insetmarginal.C:
4293         * insets/insetminipage.C:
4294         * insets/insetnote.C:
4295         * insets/insetoptarg.C: add header files needed to compile again.
4296
4297 2003-09-06  Angus Leeming  <leeming@lyx.org>
4298
4299         * RowList_fwd.h: new file, forward-declaring Row rather than
4300         #including lyxrow.h.
4301
4302         * lyxrow_funcs.h:
4303         * lyxtext.h:
4304         * paragraph.h:
4305         * insets/insettext.h: use it instead of RowList.h
4306
4307         * bufferview_funcs.C:
4308         * lyxfunc.C:
4309         * lyxrow_funcs.C:
4310         * paragraph.C:
4311         * rowpainter.C:
4312         * text.C:
4313         * text2.C:
4314         * text3.C: #include "RowList.h".
4315
4316 2003-09-05  Angus Leeming  <leeming@lyx.org>
4317
4318         * factory.C (createInset):
4319         * vspace.C (c-tor): replace sscanf call with an istringstream.
4320         * ispell.C: re-add missing HP/UX headers.
4321         * lyxserver.C: re-add missing  os2 headers.
4322
4323 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4324
4325         * BranchList.C:
4326         * graph.C:
4327         * ispell.C:
4328         * lastfiles.C:
4329         * lyx_cb.C:
4330         * lyxserver.C:
4331         * texrow.C:
4332         * text3.C: re-add missing system headers, needed for 2.95.2.
4333
4334 2003-09-05  Angus Leeming  <leeming@lyx.org>
4335
4336         Changes most place everywhere due to the removal of using directives
4337         from support/std_sstream.h.
4338
4339 2003-09-05  Angus Leeming  <leeming@lyx.org>
4340
4341         Replace LString.h with support/std_string.h,
4342         Lsstream.h with support/std_sstream.h,
4343         support/LIstream.h with support/std_istream.h,
4344         support/LOstream.h with support/std_ostream.h.
4345
4346         Changes resulting throughout the tree.
4347
4348 2003-09-05  Angus Leeming  <leeming@lyx.org>
4349
4350         * sgml.h: ensure that the header file can be compiled stand-alone.
4351         * *.C: strip out redundant #includes. (320 in total.)
4352
4353 2003-09-04  Angus Leeming  <leeming@lyx.org>
4354
4355         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4356         here (from getPackages).
4357
4358         * debug.[Ch]: add a new EXTERNAL tag.
4359
4360 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4361
4362         * text2.C (cursorEnd): simplify
4363         (setCursor): adjust
4364         (getColumnNearX): adjust
4365
4366         * text.C (computeBidiTables): adjust
4367         (fill): adjust
4368
4369         * rowpainter.C (paintChars): adjust
4370         (paintSelection): adjust
4371         (paintChangeBar): adjust
4372         (paintText): adjust
4373
4374         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4375         lastPos instead.
4376         (numberOfSeparators): adjust
4377
4378 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4379
4380         * LyXAction.C:
4381         * box.[Ch]:
4382         * lfuns.h:
4383         * lyxfunc.C:
4384         * text3.C: Restricts the mouse click functionality
4385         of insets like bibtex, include, toc and floatlist to the visible
4386         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4387         up the dialogs. Cursor has to be in front of the inset (i.e.
4388         start of row) for this to function.
4389
4390 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4391
4392         * bufferview_funcs.C (currentState): output row information
4393
4394 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4395
4396         * bufferview_funcs.C (currentState): output paragraph position
4397
4398 2003-09-04  Angus Leeming  <leeming@lyx.org>
4399
4400         * FloatList.h: move out #include "Floating.h".
4401         * LaTeX.h: move out #include "DepTable.h".
4402         * LyXAction.h: move out #include "funcrequest.h".
4403         * buffer.h: move out #include "author.h", "iterators.h".
4404         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4405         * lyx_main.h: move out #include "errorlist.h".
4406         * lyxfunc.h: move out #include "FuncStatus.h".
4407         * lyxtext: move out #include "lyxcursor.h".
4408         * paragraph_pimpl.h: move out #include "counters.h".
4409
4410 2003-09-03  Angus Leeming  <leeming@lyx.org>
4411
4412         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4413         preamble_snippets list, enabling us to add snippets to the preamble
4414         only if the snippet was not there already.
4415
4416 2003-09-04  Angus Leeming  <leeming@lyx.org>
4417
4418         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4419
4420 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4421
4422         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4423         update
4424
4425 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4426
4427         * BranchList.C: point fix, earlier forgotten
4428
4429 2003-09-02  Angus Leeming  <leeming@lyx.org>
4430
4431         * box.C (contains): renamed from 'contained' after a fantastic
4432         amount of hot air.
4433
4434 2003-09-02  John Levon  <levon@movementarian.org>
4435
4436         * BufferView.C:
4437         * lyxcursor.h:
4438         * lyxcursor.C:
4439         * lyxfunc.C:
4440         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4441
4442 2003-09-02  John Levon  <levon@movementarian.org>
4443
4444         * text2.C: simplification of cursorEnd(), including partial
4445         fix for bug 1376
4446
4447 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4448
4449         * buffer.C (readFile): add a space
4450
4451 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4454
4455 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4456
4457         * buffer.C (readFile): new function, take a filename and a
4458         ParagraphList::iterator
4459         (readFile): adjust
4460         (readFile): adjust, make it private. don't use setStream, make
4461         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4462         always contain the filename.
4463
4464         * BufferView.C (insertLyXFile): simplify and make it work for
4465         gzipped files.
4466
4467 2003-08-30  John Levon  <levon@movementarian.org>
4468
4469         * Makefile.am: fix dist (from Kayvan)
4470
4471 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4472
4473         * most files: change to use const Buffer refs
4474
4475 2003-08-27  André Pönitz  <poenitz@gmx.net>
4476
4477         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4478         on top of ownerPar().
4479
4480 2003-08-27  John Levon  <levon@movementarian.org>
4481
4482         * funcrequest.C: properly initialise POD members
4483
4484 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * lyxtext.h (top_y): move top_y from here
4487         * text.C:
4488         * text2.C:
4489         * text3.C:
4490         * BufferView.[Ch]:
4491         * BufferView_pimpl.[Ch]: to here
4492         * frontends/screen.C:
4493         * insets/insettabular.C:
4494         * insets/insettext.C: adjust
4495         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4496
4497 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4498
4499         * BufferView.[Ch]:
4500         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4501
4502 2003-08-26  André Pönitz  <poenitz@gmx.net>
4503
4504         * paragraph_func.[Ch] (outerPar): new function
4505
4506         * paragraph.C:
4507         * paragraph_funcs.C:
4508         * paragraph_funcs.h:
4509         * paragraph_pimpl.C:
4510         * text2.C: remove Inset::par_owner
4511
4512 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4513
4514         * lyxrow_funcs.C:
4515         * lyxtext.h:
4516         * text.C:
4517         * text2.C: eliminates the needFullRow/display() stuff
4518         altogether, putting the logic in metrics/draw in the insets.
4519
4520 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4521
4522         * text2.C (redoParagraphInternal, redoParagraphs):
4523         * text.C (redoParagraph): add a call to updateRowPositions at the
4524         end of each 'metrics-like' call. Remove all others.
4525         (getRow): remove the 'y-computing' version.
4526         (getRowNearY): do not compute nor return the real y. Solve the
4527         'y < 0' problem and simplify.
4528
4529 2003-08-22  Angus Leeming  <leeming@lyx.org>
4530
4531         * *.[Ch]: clean-up of licence and author blurbs.
4532         Also move config.h out of a few .h files and into a few .C files.
4533
4534 2003-08-22  André Pönitz  <poenitz@gmx.net>
4535
4536         * lyxrow.[Ch]: add x_ and *fill_ members
4537
4538         * lyxtext.h:
4539         * text.C:
4540         * rowpainter.C:
4541         * text2.C: adjust/remove prepareToPrint() calls
4542
4543 2003-08-22  André Pönitz  <poenitz@gmx.net>
4544
4545         * lyxrow.[Ch]: add  end_ member
4546
4547         * lyxrow_funcs.C: use LyXRow::end_
4548
4549         * lyxtext.h (singleWidth): add LyXFont parameter
4550
4551         * rowpainter.C:
4552         * text2.C: adjust LyXText::singleWidth() calls
4553
4554         * text.C (redoParagraph): simplify row breaking logic
4555
4556
4557 2003-08-19  André Pönitz  <poenitz@gmx.net>
4558
4559         * funcrequest.C: initialize button_ member
4560
4561         * text3.C:
4562         * rowpainter.[Ch]: interface consolidation
4563
4564 2003-08-18  André Pönitz  <poenitz@gmx.net>
4565
4566         * BufferView.C:
4567         * BufferView_pimpl.C:
4568         * lyxfind.C:
4569         * paragraph_funcs.C:
4570         * rowpainter.C:
4571         * text3.C: remove LyXScreen::draw() and fitCursor calls
4572
4573         * BranchList.h: remove spurious semicolons
4574
4575         * MenuBackend.C: fix branchlist related crash
4576
4577 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4578
4579         * BranchList.[Ch]:
4580         * InsetList.[Ch]:
4581         * LColor.[Ch]:
4582         * LyXAction.C:
4583         * Makefile.am:
4584         * MenuBackend.[Ch]:
4585         * bufferparams.[Ch]:
4586         * factory.C:
4587         * lfuns.h:
4588         * lyxfunc.C:
4589         * text3.C: implements the 'branch inset'
4590         idea. This allows the output of various versions of a document
4591         from a single source version, selectively outputing or suppressing
4592         output of parts of the text.
4593         This implementation contains a 'branch list editor' in a separate
4594         tab of the document settings dialog. Branches are user definable
4595         and have a "display colour" to distinguish them on-screen.
4596
4597         ColorHandler was somewhat cleaned up.
4598         (1) make possible a dynamically growing LColor list by allowing
4599         the graphic context cache to grow along (vector);
4600         (2) eliminate an IMHO unnecessary step in colour allocation.
4601
4602 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4603
4604         * BufferView_pimpl.C: compile fix
4605
4606 2003-08-15  André Pönitz  <poenitz@gmx.net>
4607
4608         * rowpainter.C: remove extra metrics calls
4609
4610         * lyxtext.h: merge the two constructors into a single one,
4611           pass reference to owner's par list
4612
4613         * BufferView_pimpl.C:
4614         * text.C:
4615         * text2.C: adjust
4616
4617 2003-08-15  André Pönitz  <poenitz@gmx.net>
4618
4619         * lyxrow_funcs.[Ch]:
4620         * lyxtext.h:
4621         * paragraph.h:
4622         * paragraph_funcs.C:
4623         * rowpainter.C:
4624         * text.C:
4625         * text2.C:
4626         * text3.C:
4627         * text_funcs.C: split LyXText::rowlist_ into individual
4628         Paragraph::rows_ chunks
4629
4630         * BufferView.[Ch]:
4631         * BufferView_pimpl.[Ch]:
4632         * lyxfind.C:
4633         * lyxtext.h:
4634         * text3.C: remove toggleSelection()
4635
4636 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4637
4638         * bufferlist.C: beautify two alerts (shorter text of buttons)
4639         * buffer.C: Remove redundant ' ' from message
4640         * tabular.h:
4641         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4642         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4643         rename VALIGN_CENTER to VALIGN_MIDDLE
4644
4645 2003-08-11  André Pönitz  <poenitz@gmx.net>
4646
4647         * lyxtext.h (getPar):
4648         * text.C: new function
4649
4650 2003-08-11  André Pönitz  <poenitz@gmx.net>
4651
4652         * Makefile.am:
4653         * tracer.[Ch]: remove unneeded files
4654
4655         * InsetList.[Ch]: remove resizeInsetsLyXText()
4656
4657         * lyxtext.h:
4658         * text.C:
4659         * text2.C:
4660         * text3.C: merge insertParagraphs() and appendParagraph()
4661         remove breakAgain(), update()
4662
4663         * BufferView_pimpl.[Ch]:
4664         * bufferview_funcs.[Ch]:
4665         * lyxfunc.C:
4666         * paragraph.[Ch]:
4667         * rowpainter.C:
4668         * tabular.C: adjust after text & InsetList changes.
4669
4670 2003-08-08  André Pönitz  <poenitz@gmx.net>
4671
4672         * text.C (insertChar, backspace): replace rowlist fiddling
4673         with rebreak of full par
4674
4675         * lyxtext.h:
4676         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4677         checkParagraph, updateInset): removed
4678
4679 2003-08-07  André Pönitz  <poenitz@gmx.net>
4680
4681         * paragraph.C:
4682         * text3.C: merge some LFUN handlers, remove dead code
4683
4684 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4685
4686         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4687
4688 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4689
4690         * text2.C (DEPM): fix part of bug 1255 and 1256
4691
4692 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4693
4694         * BufferView_pimpl.C (workAreaDispatch): change to use
4695         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4696         that are no mouse related.
4697
4698 2003-08-05  André Pönitz  <poenitz@gmx.net>
4699
4700         * BufferView.[Ch]:
4701         * BufferView_pimpl.[Ch]:
4702         * bufferview_funcs.C:
4703         * text2.C:
4704         * text3.C: rip out "deep update"
4705
4706         * textcursor.[Ch] (last_sel_cursor): remove unused member
4707
4708 2003-08-04  André Pönitz  <poenitz@gmx.net>
4709
4710         * BufferView.[Ch]:
4711         * BufferView_pimpl.[Ch]:
4712         * ParagraphParameters.C:
4713         * bufferview_funcs.C:
4714         * lyx_cb.C:
4715         * lyxfind.C:
4716         * lyxfunc.C:
4717         * text.C:
4718         * text2.C:
4719         * text3.C: replace "complicated" BufferView::update(...) calls with
4720         simpler ones.
4721
4722         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4723
4724 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4725
4726         * Makefile.am (lyx_SOURCES): add paper.h
4727
4728 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4729
4730         * Makefile.am: move things around so that both lyx-qt and
4731         lyx-xforms can be built (according to --with-frontend). Then lyx
4732         is a symbolic link to lyx-[firstfrontend]
4733
4734 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4735
4736         * Always use std::endl with lyxerr
4737
4738 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4739
4740         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4741
4742 2003-08-01  André Pönitz  <poenitz@gmx.net>
4743
4744         * BufferView.[Ch]:
4745         * BufferView_pimpl.[Ch]:
4746         * lyxfunc.C:
4747         * text3.C: merge BufferView::repaint() and BufferView::update()
4748
4749 2003-08-01  José Matos  <jamatos@lyx.org>
4750
4751         * buffer.[Ch]: file_format is no longer a buffer data element.
4752
4753 2003-08-01  André Pönitz  <poenitz@gmx.net>
4754
4755         * BufferView.C:
4756         * lyxtext.h:
4757         * text.C:
4758         * text2.C: make redoParagraph more independent of current cursor
4759
4760         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4761         * text.C:
4762         * text2.C: remove unneeded members
4763
4764 2003-07-30  André Pönitz  <poenitz@gmx.net>
4765
4766         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4767
4768         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4769           create a single function...
4770
4771         * paragraph_funcs.C (moveItem): ... here.
4772
4773         * text.C:
4774           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4775
4776 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4777
4778         * LColor.[Ch]: Add comment and greyedout logical colors.
4779
4780 2003-07-30  André Pönitz  <poenitz@gmx.net>
4781
4782         * tabular.C: don't use Assert too heavily. This crashes where it
4783           shouldn't
4784
4785 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4786
4787         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4788         is disabled (bug 1232)
4789
4790 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * factory.C: limited 'arg' scope
4793
4794 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4795
4796         * factory.C: fixed Note submenu issues
4797
4798 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4799
4800         * factory.C: submenu for Note/Comment/Greyedout
4801
4802 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * lyx_main.C (LyX):
4805         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4806
4807 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4808
4809         * LaTeXFeatures.C:
4810         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4811         greyedout. Patch provided by Jürgen Spitzmüller.
4812
4813 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4814
4815         * kbmap.C (read): fix error message when reading bind files
4816
4817 2003-07-29  Angus Leeming  <leeming@lyx.org>
4818
4819         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4820         certainly does not do what it purports to do. I am doing it, and
4821         us, a favour by killing it.
4822
4823 2003-07-28  José Matos  <jamatos@lyx.org>
4824
4825         * buffer.C (readBody, do_writeFile):
4826         * paragraph.C(readParagraph): \end_document replaces \the_end.
4827
4828 2003-07-29  André Pönitz  <poenitz@gmx.net>
4829
4830         * BufferView.[Ch]:
4831         * BufferView_pimpl.[Ch]:
4832         * lyxfunc.C:
4833         * text2.C:
4834         * text3.C:
4835         * textcursor.[Ch]: remove toggleToggle & Co
4836
4837 2003-07-28  José Matos  <jamatos@fep.up.pt>
4838
4839         * buffer.C (readParagraph):
4840         * params_func (readParToken, readParagraph):
4841         * paragraph.C (write): \layout -> \begin_layout.
4842
4843 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4844
4845         * lyxlex_pimpl.C (setFile): clean up slightly.
4846
4847         * bufferparams.h: add compressed var
4848
4849         * buffer_funcs.C (readFile): adjust for LyXLex change
4850         (newFile): ditto + simplify
4851
4852         * buffer.C (writeFile): handle writing of compressed files
4853
4854         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4855         Check if the file is compressed and set a bufferparm if so.
4856
4857         * Makefile.am (lyx_LDADD): remove explicit -lz
4858
4859 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4860
4861         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4862         makeDocBookFile): put the real LyX version in the first line of
4863         the file
4864
4865         * version.h:
4866         * version.C.in: remove lyx_docversion
4867
4868         * tabular.C (write_attribute): add a template-based version to
4869         write enums properly
4870
4871 2003-07-28  André Pönitz  <poenitz@gmx.net>
4872
4873         * lyxtext.h:
4874         * text.C:
4875         * text2.C:
4876         * text3.C: use doubles again for x-coordinates. They are needed.
4877
4878 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4879
4880         * messages.C (getLocaleDir): use lyx_localedir()
4881
4882         * lyxlex_pimpl.C (setFile): compress stuff
4883
4884         * buffer.C (writeFile): add some compression stuff
4885         (do_writeFile): new func, dont call expliti close... will this
4886         breake anything?
4887
4888         * Makefile.am (lyx_LDADD): add -lz
4889
4890 2003-07-28  José Matos  <jamatos@fep.up.pt>
4891
4892         * buffer.C: increment file format.
4893         * paragraph_funcs (readParagraph, readParToken):
4894         * paragraph.C (readParagraph): add \end_layout.
4895
4896 2003-07-27  Angus Leeming  <leeming@lyx.org>
4897
4898         * Makefile.am: remove special casing for configure-time setting of
4899         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4900
4901         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4902         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4903
4904 2003-07-26  André Pönitz  <poenitz@gmx.net>
4905
4906         * paragraph_func.[Ch]:
4907         * paragraph.C (realizeFont): inline it whereever it is used
4908
4909         * rowpainter.C:
4910         * text.C:
4911         * text2.C:
4912         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4913
4914
4915 2003-07-26  André Pönitz  <poenitz@gmx.net>
4916
4917         *       lyxtext.h:
4918         * text.C:
4919         * text2.C: get rid of LyXText::need_break_row
4920
4921 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4922
4923         * toc.[Ch]: put namespace toc inside namespace lyx
4924
4925         * MenuBackend.C (expandToc2): adjust for lyx::toc
4926         (expandToc): ditto
4927
4928         * lyxfunc.C (dispatch): adjust for lyx::find
4929
4930         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4931         lyx::find instead. Reorganize a bit.
4932         (LyXReplace): rename to replace
4933         (LyXFind): rename to find
4934
4935         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4936         (dispatch): ditto
4937
4938 2003-07-26  André Pönitz  <poenitz@gmx.net>
4939
4940         * text.C (setHeightOfRow): restrict scope of temporary variable
4941
4942         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4943           code (never has been used?)
4944
4945 2003-07-27  Asger Alstrup  <alstrup@local>
4946
4947         * text.C (fill): Optimise algorithm to exploit that we can reuse
4948         the LyXFont for many characters.
4949         (setHeightOfRow): Same thing.
4950         (rowBreakPoint): Same thing.
4951
4952 2003-07-26  Asger Alstrup  <alstrup@local>
4953
4954         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4955
4956         * text.C (singleWidth): Spurious font copying in hot-spot
4957         singleWidth avoided. Reorder tests for arabic for efficiency.
4958
4959         * text.C (fill): handle empty paragraphs better.
4960
4961 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4962
4963         * ispell.C:
4964         * encoding.h: add includes
4965
4966         * lyxrc.C: remove reading of bind files
4967
4968         * lyx_main.C (init): setup bindings and menus only if we have a
4969         gui.
4970
4971         * kbmap.C (read): new method. Do the actual reading of bind
4972         files.
4973
4974         * converter.C (dvipdfm_options):
4975         * bufferparams.C:
4976         * lyxrc.C (read):
4977         (output): adapt PAPER_* enums.
4978
4979         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4980
4981         * bufferparams.h: remove paper-related enums from there
4982
4983         * paper.h: New file. A trivial header file to hold paper-related
4984         enums. It should later expand to contain many paper-related
4985         horrors access.
4986
4987         * lyxrc.C: declare extern displayTranslator
4988
4989 2003-07-27  José Matos  <jamatos@fep.up.pt>
4990
4991         * tabular.[Ch] (linuxdoc): add support for tables and figures
4992         (linuxdoc).
4993
4994 2003-07-27  José Matos  <jamatos@fep.up.pt>
4995
4996         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4997         consistency in both functions.
4998         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4999
5000 2003-07-26  Asger Alstrup  <alstrup@local>
5001
5002         * rowpainter.C (paintRows): Change algorithm to work directly on
5003         the insets rather than asking every character in the document
5004         whether its an inset.
5005
5006 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5007
5008         * buffer.C (openFileWrite): factorize some code
5009
5010 2003-07-26  Angus Leeming  <leeming@lyx.org>
5011
5012         * lyx_cb.C:
5013         * lyx_main.[Ch]: replace occurances of system_tempdir with
5014         os::getTmpDir().
5015
5016 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * rename Inset to InsetOld
5019
5020 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5021
5022         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5023         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5024         which I think is a bit clearer. EDIT is gone, since it was
5025         premature optimisation, and broken for mathed anyway.
5026         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5027         with cursor positioning in insets as well (math insets still do not
5028         work, but that's a different story anyway.) It mysteriously
5029         crashes sometimes with undo in the first paragraph, but I'm fairly
5030         confident that this is a compiler bug.
5031
5032 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5033
5034         * paragraph.C (Paragraph): adjust for new clone return type
5035         (operator==): ditto
5036         (copyIntoMinibuffer): ditto
5037
5038 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5039
5040         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5041         by not having a special case, and always doing a full rebreak of
5042         the document after undo.
5043
5044 2003-07-23  Angus Leeming  <leeming@lyx.org>
5045
5046         * factory.C (createInset): InsetExternal::setParams now takes a
5047         Buffer const * arg.
5048
5049 2003-07-23  Angus Leeming  <leeming@lyx.org>
5050
5051         * factory.C (createInset): changed interface to the external and
5052         graphics mailers' string2params functions.
5053
5054 2003-07-23  Angus Leeming  <leeming@lyx.org>
5055
5056         * factory.C (createInset): pass a
5057         Buffer const * parameter to InsetExternalMailer's string2params.
5058
5059 2003-07-22  John Levon  <levon@movementarian.org>
5060
5061         * Thesaurus.h: include the right aiksaurus header
5062
5063 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5064
5065         * MenuBackend.C (expand): check menu shortcuts unconditionally
5066
5067 2003-07-21  Angus Leeming  <leeming@lyx.org>
5068
5069         * factory.C (createInset): pass a
5070         buffer_path parameter to InsetGraphicsMailer's string2params.
5071
5072 2003-07-21  Angus Leeming  <leeming@lyx.org>
5073
5074         * BufferView_pimpl.C (buffer):
5075         * buffer.C (d-tor):
5076         * lyx_main.C (LyX):
5077         * lyxfunc.C (dispatch):
5078         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5079         rather than the grfx shortcut.
5080
5081 2003-07-21  André Pönitz  <poenitz@gmx.net>
5082
5083         * rowpainter.C: remove unused variables
5084
5085         * tabular_funcs.C:
5086         * tabular_funcs.h: move to tabular.C
5087         * Makefile.am: adjust
5088
5089         * tabular.[Ch]: basic optical cleaning
5090
5091         * author.h: pass references, not values
5092
5093 2003-07-18  André Pönitz  <poenitz@gmx.net>
5094
5095         * lyxtext.h:
5096         * metricsinfo.C:
5097         * metricsinfo.h:
5098         * rowpainter.C:
5099         * text.C:
5100         * text2.C:
5101         * text3.C: two-phase drawing for InsetText and InsetTabular
5102         some float -> int changes.
5103
5104 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5105
5106         * lyx_main.C: fix the fix
5107
5108 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * lyx_main.C: fix a crash in batch mode if no files specified
5111         * converter.C: ws
5112
5113 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5114
5115         * format.[Ch] (papersize): moved to BufferParams
5116         * converter.[Ch] (dvips_options): moved to BufferParams
5117         (dvipdfm_options): moved to anon namespace
5118         * bufferparams.[Ch]: added above functions.
5119
5120 2003-07-17  André Pönitz  <poenitz@gmx.net>
5121
5122         * lyxtext.h:
5123         * rowpainter.C:
5124         * text2.C: don't call inset->update() anymore
5125
5126         * metricsinfo.[Ch]: add convenience constructor
5127
5128 2003-07-16  André Pönitz  <poenitz@gmx.net>
5129
5130         * lyxcursor.[Ch]:
5131         * lyxfunc.[Ch]:
5132         * text.C:
5133         * text2.C: replace the LyXCursor::irow_ member with
5134          on-demand computation of the value
5135
5136 2003-07-16  John Levon  <levon@movementarian.org>
5137
5138         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5139
5140 2003-07-15  André Pönitz  <poenitz@gmx.net>
5141
5142         * text.C:
5143         * text2.C: remove no more needed refresh_row
5144
5145 2003-07-15  André Pönitz  <poenitz@gmx.net>
5146
5147         * lyxtext.h:
5148         * rowpainter.C:
5149         * text2.C:
5150         * text3.C: refresh_status tristate -> need_update bool
5151
5152 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5153
5154         * lyxtext.h (init): remove reinit argument (act as if always true)
5155         * text2.C: adjust to that
5156
5157 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5158
5159         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5160         * text3.C: use it to delete selections in some cases
5161         (bugs 441, 673, 702, 954).
5162
5163 2003-07-14  André Pönitz  <poenitz@gmx.net>
5164
5165         * rowpainter.[Ch]: reduce interface
5166
5167 2003-07-14  André Pönitz  <poenitz@gmx.net>
5168
5169         * BufferView_pimpl.C:
5170         * text2.C: adjust after removing unused BufferView * argument
5171
5172 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * text2.C (init): fix a crash fired on resize
5175
5176 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5177
5178         * buffer.[Ch]: added new closing signal
5179         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5180         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5181         BufferView::Pimpl via the closing the signal
5182
5183 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5184
5185         * buffer.[Ch]: take out all bv-related from buffer
5186         * BufferView.C:
5187         * BufferView_pimpl.[Ch]: connect to new signals
5188         * CutAndPaste.C: removed useless asserts
5189         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5190         * lyxvc.[Ch]:
5191         * vc-backend.[Ch]:
5192         * lyxfunc.C: moved view-related funciontality from vc here
5193         * paragraph.C: removed outdated comments
5194         * text.C: ws
5195
5196 2003-07-10  André Pönitz  <poenitz@gmx.net>
5197
5198         * BufferView_pimpl.C:
5199         * tabular.h:
5200         * tabular_funcs.C:
5201         * text.C:
5202         * text2.C: remove InsetText::InnerCache, clean up consequences
5203
5204 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5205
5206         * ispell.C: fix two typos in error messages
5207
5208 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5209
5210         * Extend Note inset to other forms of annotation like Comment
5211         and Greyedout. Right button click gives dialog.
5212
5213         Files modified or added (+):
5214
5215         * insetnote.[Ch]
5216         * FormNote.[Ch]      +
5217         * ControlNote.[Ch]   +
5218         * form_note.fd       +
5219         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5220         frontends/controllers
5221         * xforms/Dialogs.C
5222         * factory.C
5223
5224 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5225
5226         * aspell.C: add missing namespace lyx::support
5227
5228 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5229
5230         * BufferView.[Ch] (newFile): Add
5231         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5232         * LaTeX.[Ch] (message): added this signal and use it
5233         * buffer.[Ch] (busy, message): added these signals and use them
5234         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5235         * converter.C:
5236         * exporter.C:
5237         * format.C:
5238         * importer.C: use buffer signals instead of direct bv calling
5239         * lyx_cb.[Ch] (ShowMessage): removed
5240         * lyx_main.C:
5241         * lyxfunc.C:
5242         * paragraph_funcs.C:
5243         * text2.C: use buffer signals
5244
5245 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5246
5247         * introduce namespace lyx::graphics
5248
5249 2003-07-02  André Pönitz  <poenitz@gmx.net>
5250
5251         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5252
5253 2003-07-01  André Pönitz  <poenitz@gmx.net>
5254
5255         * text.C:
5256         * text2.C:
5257         * text3.C:
5258         * text_funcs.[Ch]:
5259         * textcursor.h:
5260         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5261           text*.C to text_func.C
5262
5263 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * introduce namespace lyx::support
5266
5267 2003-06-30  André Pönitz  <poenitz@gmx.net>
5268
5269         * Chktex.C:
5270         * funcrequest.C:
5271         * lyxtext.h:
5272         * text.C: re-enable --with-included-string
5273
5274 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * textcursor.C: add <config.h>
5277
5278         * text.C (getWord): remove const from word_location arg
5279
5280         * lyxvc.C (getLogFile): fix const type order
5281
5282         * lyxtext.h: remove const from word_location arg, add arg name
5283
5284         * lyxlayout.h: currect type on labeltype.
5285
5286         * importer.C: correct \file
5287
5288         * converter.C (intToFormat): use std:: on ret val, ws changes
5289
5290         * bufferlist.h: correct \file
5291
5292         * buffer.C (makeLinuxDocFile): fix const type order
5293         (makeDocBookFile): ditto
5294         (fillWithBibKeys): use std:: on stdlib args.
5295
5296         * CutAndPaste.C: fix authors.
5297         (availableSelections): use std:: on return vector
5298
5299 2003-06-27  André Pönitz  <poenitz@gmx.net>
5300
5301         * BufferView_pimpl.C:
5302         * bufferview_funcs.C:
5303         * lyxcursor.C:
5304         * lyxcursor.h:
5305         * lyxfunc.C:
5306         * lyxtext.h:
5307         * rowpainter.C:
5308         * text.C:
5309         * text2.C:
5310         * text3.C: remove LyXCursor::row_ member
5311
5312         * lyxtext.h:
5313         * text.C: rename fullRebreak() to partialRebreak() and implement
5314           a fullRebreak() that really bereks fully
5315
5316         * textcursor.h: new struct for cursor-related data
5317
5318 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5319
5320         * lyx_main.C (LyX): get full path of document loaded on the
5321         command line
5322
5323 2003-06-26  André Pönitz  <poenitz@gmx.net>
5324
5325         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5326           remove unused/broken operator>,<,>=.
5327
5328         *       text.C: remove only use of broken operator<= in an Assert().
5329
5330 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5331
5332         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5333         moved errorlist_.clear to showErrorList
5334
5335 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5336
5337         * converter.C (scanLog, runLaTeX):
5338         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5339         move the bv->showErrorList call to the callers
5340         * lyxfunc.C: i.e. here...
5341         * text2.C: and here
5342         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5343         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5344         namespace, the second to...
5345         * buffer_funcs (BufferFormat, parseErrors): added
5346         * errorlist.C (ErrorList(TeXErrors const &)): removed
5347
5348 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5349
5350         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5351
5352 2003-06-24  "Garst R. Reese" <reese@isn.net>
5353
5354         * debug.C: fix typo
5355
5356 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5357
5358         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5359
5360         * version.C.in: change docversion to 1.4
5361
5362 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5363
5364         * buffer.C: fix a bug just introduced
5365
5366 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5367
5368         * buffer.[Ch]: added the parseError signal and use it, removed
5369         sgmlError
5370         * BufferView.[Ch] (addError): moved to ...
5371         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5372         to the Buffer::parseError signal to catch (guess what) parse errors
5373         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5374
5375 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5376
5377         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5378         ability to create a buffer and to return an existing one from
5379         the list. Moved these functions to...
5380         * buffer_funcs.[Ch]: added
5381         * BufferView.[Ch] (loadLyXFile): added
5382         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5383         job removed from bufferlist::loadLyXFile.
5384         * buffer.C (setReadOnly): make it work without view
5385         (i.e added an if (users))
5386
5387 2003-06-19  Angus Leeming  <leeming@lyx.org>
5388
5389         * lfuns.h:
5390         * LyXAction.C (init):
5391         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5392         with LFUN_DIALOG_SHOW <name> <data>.
5393
5394 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5395
5396         * CutAndPaste.C (availableSelections): small compilation fix for
5397         ancient (gcc 2.9x) compilers
5398
5399 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5400
5401         * text3.C (cursorNext): add tmp var
5402
5403         * text2.C (updateCounters): for function calling out of for clause
5404         (replaceSelectionWithString): ditto
5405         (insertStringAsParagraphs): ditto
5406         (getColumnNearX): add tmp var
5407         (setCursorFromCoordinates): add tmp var
5408         (cursorDownParagraph): add tmp var
5409         (deleteEmptyParagraphMechanism): add tmp var
5410
5411         * text.C (insertChar): add tmp var
5412
5413         * rowpainter.C (paintDepthBar): add tmp var
5414
5415         * CutAndPaste.C (availableSelections): potentially check all
5416         paragraphs in a cut to fill the shown strings.
5417
5418 2003-06-18  André Pönitz  <poenitz@gmx.net>
5419
5420         * kbmap.[Ch]: use vector<> instead of list<>
5421
5422 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5423
5424         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5425         pasteSelection with index
5426
5427         * text2.C (pasteSelection): modify, call pasteSelection with index
5428
5429         * paragraph.C (asString): reimplement version with no interval to
5430         call the one with interval.
5431
5432         * lyxtext.h: add index arg to pasteSelection
5433
5434         * MenuBackend.C (MenuItem): handle PasteRecent
5435         (Menu::read::Menutags): add md_pasterecent
5436         (read): handle it
5437         (expandPasteRecent): new function
5438         (expand): use it
5439
5440         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5441
5442         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5443         the limited stack
5444         (availableSelections): new function
5445
5446 2003-06-17  Angus Leeming  <leeming@lyx.org>
5447
5448         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5449
5450 2003-06-17  Angus Leeming  <leeming@lyx.org>
5451
5452         * lfuns.h:
5453         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5454
5455         * lyxfunc.C (dispatch): invoke it.
5456
5457 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5458
5459         * iterators.C (operator++, ParPosition): reintroduce some
5460         const_cast for the benefit of older compilers.
5461
5462 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5463
5464         * text3.C (dispatch): do not modify clipboard when doing
5465         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5466         LFUN_DELETE_SKIP on a selection selection
5467
5468 2003-06-16  André Pönitz  <poenitz@gmx.net>
5469
5470         * BufferView.C:
5471         * buffer.C:
5472         * buffer.h:
5473         * paragraph.C:
5474         * tabular.[Ch]: IU of clone() and getLabelList();
5475
5476 2003-06-13  André Pönitz  <poenitz@gmx.net>
5477
5478         * tabular.h: compactification
5479
5480 2003-06-12  André Pönitz  <poenitz@gmx.net>
5481
5482         * tabular.C:
5483         * tabular.h:
5484         * tabular_funcs.h: some renaming plus whitespace
5485
5486 2003-06-12  André Pönitz  <poenitz@gmx.net>
5487
5488         * BufferView.C:
5489         * BufferView_pimpl.C:
5490         * CutAndPaste.C:
5491         * buffer.C:
5492         * iterators.[Ch]:
5493         * lyxfunc.C:
5494         * text.C:
5495         * toc.C: Return a Paragraph & for ParIterator::operator*()
5496
5497 2003-06-11  John Levon  <levon@movementarian.org>
5498
5499         * lyx_main.C:
5500         * ToolbarBackend.h:
5501         * ToolbarBackend.C: add "Toolbars" section and
5502         put the flags there
5503
5504 2003-06-10  Angus Leeming  <leeming@lyx.org>
5505
5506         * lfuns.h:
5507         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5508
5509         * lyxfunc.C (dispatch): invoke it.
5510
5511 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5512
5513         * main.C: protect <ios> with HAVE_IOS
5514         (main): protect sync_with_stdio with HAVE_IOS
5515
5516 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5517
5518         * text2.C (cutSelection): adjust
5519         (pasteSelection): adjust
5520
5521         * messages.C: handle get of empty string
5522
5523         * main.C (main): use sync_with_stdio(false)
5524
5525         * lyxfunc.C (dispatch): adjust
5526
5527         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5528         (WriteAs): remove unneeded BufferView arg.
5529
5530         * bufferparams.h: use correct types on papersize, papersize2 and
5531         paperpackage.
5532
5533         * bufferparams.C (readToken): adjust for type
5534         (writeLaTeX): add missing cases to switch.
5535
5536         * bufferlist.C (quitWriteBuffer): adjust
5537         (close): adjust
5538
5539         * buffer.C (asciiParagraph): remove some commented code.
5540
5541         * CutAndPaste.C: remove current_view extern variable.
5542         (cutSelection): add BufferParams arg.
5543         (eraseSelection): add BufferParams arg.
5544         (pasteSelection): add Buffer const & arg
5545
5546 2003-06-07  John Levon  <levon@movementarian.org>
5547
5548         * buffer.C:
5549         * paragraph_funcs.C:
5550         * paragraph_pimpl.C:
5551         * text.C:
5552         * text2.C:
5553         * paragraph.h:
5554         * paragraph.C: allow InsetERT to freely space lines,
5555         and some consolidation of code
5556
5557 2003-06-06  José Matos  <jamatos@fep.up.pt>
5558
5559         * buffer.C (makeDocBookFile): fix bug #821
5560
5561 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5562
5563         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5564
5565 2003-06-04  Angus Leeming  <leeming@lyx.org>
5566
5567         * buffer.C: bump format to 224.
5568
5569 2003-06-05  André Pönitz  <poenitz@gmx.net>
5570
5571         * text2.C (redoParagraphs): remove two const_cast<>
5572
5573 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5574
5575         * ParagraphList.h: remove last remnants of NO_STD_LIST
5576
5577 2003-06-03  Angus Leeming  <leeming@lyx.org>
5578
5579         * factory.C (createInset): small change to the way InsetExternal's params
5580         are set.
5581
5582 2003-06-04  André Pönitz  <poenitz@gmx.net>
5583
5584         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5585
5586         * paragraph_pimpl.h:
5587         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5588
5589         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5590
5591         * undo_funcs.C: make some simple cases of undo work again
5592
5593 2003-06-03  John Levon  <levon@movementarian.org>
5594
5595         * ispell.C: HPUX doesn't have sys/select.h
5596         (from Albert Chin)
5597
5598 2003-06-03  John Levon  <levon@movementarian.org>
5599
5600         * CutAndPaste.C: update tabular and include inset
5601         buffer references
5602
5603         * buffer.h:
5604         * paragraph.h:
5605         * paragraph.C: remove owningBuffer(), don't pass Buffer
5606         to clone()
5607
5608         * factory.C: insetGraphicsParams changed
5609
5610 2003-06-02  John Levon  <levon@movementarian.org>
5611
5612         * LyXAction.C:
5613         * factory.C:
5614         * lfuns.h:
5615         * lyxfunc.C:
5616         * text3.C: remove insetparent
5617
5618 2003-06-02  John Levon  <levon@movementarian.org>
5619
5620         * buffer.h:
5621         * buffer.C: fix inset_iterator.end(), move out of line
5622         (bug 1149)
5623
5624 2003-06-01  John Levon  <levon@movementarian.org>
5625
5626         * text3.C: use a proper cut/paste when doing inset
5627         insert (from Jürgen Spitzmüller)
5628
5629 2003-06-01  John Levon  <levon@movementarian.org>
5630
5631         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5632
5633 2003-05-30  André Pönitz  <poenitz@gmx.net>
5634
5635         * rowpainter.C: unify second drawing phase
5636
5637 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5638
5639         * trans_mgr.C: remove one case of current_view
5640
5641         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5642
5643         * paragraph_funcs.h: remove paragraph.h include
5644
5645         * paragraph.h: delete NO_STD_LIST stuff
5646
5647         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5648
5649         * buffer.h: remove paragraph.h include
5650
5651         * ParagraphList.C: delete file
5652
5653         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5654
5655         * toc.C (getTocList): adjust
5656
5657         * paragraph_pimpl.C (validate): adjust
5658
5659         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5660
5661         * paragraph.C (Paragraph): adjust
5662         (getPositionOfInset): use const_iterator, adjust
5663         (bibitem): use const_iterator, adjust
5664         (setInsetOwner): adjust
5665
5666         * iterators.C (operator++): adjust
5667
5668         * InsetList.[Ch]: Replace selfmade iterator with standard
5669         vector::iterator also introduce const_iterator. Remove getPos,
5670         getInset and setInset from InsetTable. Adjust accordingly.
5671
5672         * BufferView.C (lockInset): adjust
5673         (ChangeInsets): adjust
5674
5675         * tabular.[Ch]: delete commented same_id functions
5676
5677 2003-05-28  John Levon  <levon@movementarian.org>
5678
5679         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5680
5681 2003-05-28  André Pönitz  <poenitz@gmx.net>
5682
5683         * metricsinfo.[Ch]: remove 'fullredraw' member
5684
5685 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5686
5687         * lyxtextclass.C (operator): remove caching.
5688
5689 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * text3.C: adjust
5692
5693         * text2.C (cursorBottom): adjust
5694         (setCounter): use ParagraphList::find, adjust
5695
5696         * text.C (workWidth): use ParagraphList::find, adjust
5697
5698         * lyxcursor.C (LyXCursor): adjust
5699
5700         * buffer.C (inset_iterator): adjust
5701
5702         * ParagraphList.h: make iterator(value_type) private, make
5703         ParagraphList a friend of iterator.
5704
5705         * ParagraphList.C (find): new function
5706
5707         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5708
5709 2003-05-27  André Pönitz  <poenitz@gmx.net>
5710
5711         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5712
5713 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5714
5715         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5716
5717 2003-05-26  John Levon  <levon@movementarian.org>
5718
5719         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5720
5721 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * remove same_id from function signatures, adjust.
5724
5725 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5726
5727         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5728
5729         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5730
5731         * paragraph.C (Paragraph): get rid of same_ids parameter
5732
5733         * ParagraphList.C (insert): adjust
5734         (push_back): adjust
5735
5736 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5737
5738         * paragraph_funcs.C (breakParagraph): adjust
5739         (breakParagraphConservative): adjust
5740
5741         * buffer.C (readParagraph): adjust
5742
5743         * ParagraphList.C (insert): take a reference instead of a pointer
5744         (insert): adjust
5745
5746         * paragraph.[Ch] (id): new function
5747
5748         * bufferlist.C (newFile): adjust
5749
5750         * ParagraphList.C (ParagraphList): adjust
5751         (assign): adjust
5752         (push_back): take a reference instead of a pointer.
5753
5754         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5755
5756         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5757         instead.
5758
5759         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5760         set else use old code.
5761
5762         * ParagraphList.C: remove all NO_NEXT code and only compile this
5763         code of NO_STD_LIST is set.
5764
5765 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5766
5767         * BufferView_pimpl.C:
5768         * TextCache.C:
5769         * TextCache.h:
5770         * bufferlist.C:
5771         * errorlist.h:
5772         * format.C:
5773         * format.h:
5774         * graph.C:
5775         * lyxfunc.C:
5776         * lyxrc.C:
5777         * graphics/GraphicsConverter.C:
5778         * graphics/PreviewLoader.C: header adjustment
5779
5780 2003-05-23  Angus Leeming  <leeming@lyx.org>
5781
5782         * LaTeXFeatures.[Ch] (useBabel): new method.
5783         * bufferparams.C (writeLaTeX): use it.
5784
5785 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * ParagraphList.h (set): remove unused function.
5788
5789 2003-05-23  André Pönitz  <poenitz@gmx.net>
5790
5791         * BufferView.C:
5792         * BufferView_pimpl.C:
5793         * buffer.C:
5794         * buffer.h:
5795         * lyxfunc.C:
5796         * undo_funcs.C: setUndo reworked
5797
5798         * iterators.[Ch]: add access to topmost ParagraphList
5799
5800         * lyxtext.[Ch] (workWidth): add a const
5801
5802 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5803
5804         * texrow.[Ch] (increasePos): remove function
5805         * exporter.C (export): removed unused var and outdated comment
5806
5807 2003-05-23  Angus Leeming  <leeming@lyx.org>
5808
5809         * latexrunparams.h: rename fragile as moving_arg.
5810         * paragraph.C (simpleTeXOnePar): ditto.
5811         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5812
5813 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5814
5815         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5816         (createUndo): ditto
5817         (textUndoOrRedo): comment out a currently unused var.
5818
5819         * paragraph.h (NO_NEXT): enable NO_NEXT
5820
5821         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5822
5823         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5824
5825         * exporter.C (Export): adjust for removeAutoInsets removal.
5826
5827         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5828
5829         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5830
5831         * BufferView.[Ch] (removeAutoInsets): delete function
5832
5833 2003-05-22  Angus Leeming  <leeming@lyx.org>
5834
5835         * latexrunparams.h: add a free_spacing variable.
5836
5837         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5838         to pass moving_arg, as the data is stored in runparams.fragile.
5839
5840         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5841         to Inset::latexOptional or to simpleTeXOnePar.
5842
5843         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5844         free_spacing arg to Inset::latexOptional.
5845
5846         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5847         free_spacing arg.
5848
5849 2003-05-22  Angus Leeming  <leeming@lyx.org>
5850
5851         * latexrunparams.h: add fragile and use_babel variables.
5852
5853         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5854         * buffer.C (makeLaTeXFile): store this returned value in
5855         runparams.use_babel, thus passing it to the inset::latex methods.
5856
5857         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5858         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5859
5860         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5861         longer has a fragile arg, as it is stored in runparams.fragile.
5862
5863         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5864         moving_arg parameter as the data is stored in runparams.fragile.
5865
5866         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5867         a fragile parameter as the data is stored in runparams.fragile.
5868
5869 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5870
5871         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5872
5873 2003-05-22  Angus Leeming  <leeming@lyx.org>
5874
5875         * latexrunparams.h: add a 'bool nice' which defaults to false.
5876
5877         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5878         now encapsulated within runparams.
5879
5880         * bufferlist.C (updateIncludedTeXfiles):
5881         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5882
5883 2003-05-22  Angus Leeming  <leeming@lyx.org>
5884
5885         * latexrunparams.h: new file containing struct LatexRunParams.
5886         * Makefile.am: add new file.
5887
5888         * LaTeX.[Ch] (c-tor, run):
5889         * buffer.[Ch] (makeLaTeXFile):
5890         * bufferlist.[Ch] (updateIncludedTeXfiles):
5891         * converter.C (convert, scanLog):
5892         * converter.[Ch] (runLaTeX):
5893         * exporter.C (Export):
5894         * paragraph.[Ch] (simpleTeXOnePar):
5895         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5896         * paragraph_funcs.[Ch] (latexParagraphs):
5897         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5898         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5899         pass around a LatexRunParams parameter.
5900
5901 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5902
5903         * paragraph.[Ch]: remove unused constructor
5904
5905         * ParagraphList.C (erase): new function, taking two iterators
5906
5907 2003-05-22  André Pönitz  <poenitz@gmx.net>
5908
5909         * undo_funcs.C: remove duplicated code
5910
5911         * iterator.[Ch]: operator=
5912
5913 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * tabular.C (SetMultiColumn): ws changes
5916
5917         * rowpainter.C (paintFirst): get rid of a ->previous
5918
5919         * lyx_cb.C (getPossibleLabel): parlist simplification
5920
5921         * BufferView.C (ChangeInsets): simplify slightly.
5922
5923 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5924
5925         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5926         * lfuns.h: new LFUN_SPACE
5927         * lyxfunc.C: protected space has a new lfun
5928         * paragraph_funcs.C: read new space insets
5929         * text3.C:
5930         * factory.C: handle new space insets
5931
5932 2003-05-22  André Pönitz  <poenitz@gmx.net>
5933
5934         * BufferView.C:
5935         * BufferView_pimpl.C:
5936         * buffer.[Ch]:
5937         * lyxfunc.C:
5938         * undo_funcs.C: return a ParIterator from getParFromID.
5939
5940         * iterators.[Ch]: add two const's
5941
5942 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * toc.C (getTocList): adjust
5945
5946         * iterators.[Ch]: rework for parlist
5947
5948         * buffer.C (par_iterator_begin): adjust
5949         (par_iterator_end): adjust
5950
5951         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5952
5953         * BufferView.C (removeAutoInsets): adjust
5954         (ChangeInsets): adjust
5955
5956 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * text.C (top_y): fix bug 1110
5959
5960 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5961
5962         * errorlist.[Ch]: added
5963         * buffer.C:
5964         * BufferView.[Ch]:
5965         * BufferView_pimpl.C:
5966         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5967         instead
5968
5969 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5970
5971         * Makefile.am: ensure that lyx is relinked upon changes to the
5972         various "convenience" libs.
5973
5974 2003-05-20  Angus Leeming  <leeming@lyx.org>
5975
5976         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5977         files are compiled in alphabetical order again.
5978
5979         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5980
5981 2003-05-19  Angus Leeming  <leeming@lyx.org>
5982
5983         * gettext.[Ch]: remove "char const * _(char const *)".
5984
5985 2003-05-19  André Pönitz  <poenitz@gmx.net>
5986
5987         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5988
5989         * Makefile.am:
5990         * BufferView.C:
5991         * DepTable.h:
5992         * LaTeXFeatures.C:
5993         * buffer.C:
5994         * lyxfont.C:
5995         * lyxlex.h:
5996         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5997
5998 2003-05-19  André Pönitz  <poenitz@gmx.net>
5999
6000         * buffer.C:
6001         * lyxlayout.[Ch]:
6002         * lyxtextclass.[Ch]:
6003         * paragraph.C:
6004         * paragraph_funcs.[Ch]:
6005         * text2.C:
6006         * text3.C: more insetenv work
6007
6008 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6009
6010         * ParagraphParameters.C (params2string): small bug fixed
6011
6012 2003-05-16  André Pönitz  <poenitz@gmx.net>
6013
6014         * debug.C:
6015         * bufferview_funcs.C: patch from Kornel Benko to prevent
6016           crash when _(...) is called twice in a statement
6017
6018 2003-05-16  André Pönitz  <poenitz@gmx.net>
6019
6020         * BufferView.C:
6021         * lyxfunc.C:
6022         * text.C:
6023         * text2.C:
6024         * text3.C:
6025         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6026
6027 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6028
6029         * lyx_main.C (init): remove spurious static_cast
6030
6031 2003-05-14  André Pönitz  <poenitz@gmx.net>
6032
6033         * BufferView.C: fix format string
6034
6035 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6036
6037         * BufferView.[Ch] (insertErrors): removed
6038         * BufferView.[Ch] (showErrorList): added
6039         * buffer.C (runChkTeX):
6040         * converter.C (scanLog): call showErrorList instead of inserterrors
6041
6042 2003-05-13  André Pönitz  <poenitz@gmx.net>
6043
6044         * BufferView_pimpl.C:
6045         * buffer.C:
6046         * bufferview_func.C:
6047         * MenuBackend.C:
6048         * lyxfunc.C:
6049         * lyxrc.C:
6050         * tex-accent.C:
6051         * text3.C:
6052         * toc.C:
6053         * tabular_funcs.h: tostr() from its own header
6054
6055         * ParagraphParameters.C:
6056         * ToolbarBackend.C:
6057         * bufferparams.C:
6058         * format.C:
6059         * lyxlex_pimpl.C:
6060         * text3.C: STRCONV()
6061
6062 2003-05-12  André Pönitz  <poenitz@gmx.net>
6063
6064         * BufferView.C:
6065         * BufferView_pimpl.C:
6066         * CutAndPaste.C:
6067         * LaTeX.C:
6068         * LaTeXFeatures.C:
6069         * ParagraphParameters.C:
6070         * buffer.C:
6071         * bufferlist.C:
6072         * bufferparams.C:
6073         * bufferview_funcs.C:
6074         * converter.C:
6075         * counters.C:
6076         * debug.C:
6077         * exporter.C:
6078         * format.C:
6079         * importer.C:
6080         * lyx_cb.C:
6081         * lyx_main.C:
6082         * lyxfont.C:
6083         * lyxfunc.C:
6084         * lyxvc.C:
6085         * paragraph.C:
6086         * paragraph_funcs.C:
6087         * tabular.C:
6088         * tabular_funcs.C:
6089         * text2.C:
6090         * text3.C:  boost::format -> bformat  all over the place
6091
6092
6093 2003-05-09  André Pönitz  <poenitz@gmx.net>
6094
6095         * LColor.[Ch]: Pimpl the #include <map> away
6096
6097 2003-05-09  John Levon  <levon@movementarian.org>
6098
6099         * bufferlist.C: never remove emergency saves
6100
6101 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6102
6103         * Makefile.am: better lib building
6104
6105 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6108         instead.
6109         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6110         (simpleTeXSpecialChars): adjust
6111         (simpleTeXSpecialChars): adjust
6112         * paragraph.C (simpleTeXOnePar): adjust
6113         * buffer.C (makeLaTeXFile): adjust
6114
6115         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6116
6117         * text2.C (changeDepth): parlist cleanup
6118         (getColumnNearX): ditto
6119
6120         * rowpainter.C (getLabelFont): parlist cleanup
6121
6122         * bufferlist.C (newFile): parlist cleanup
6123
6124         * CutAndPaste.C (eraseSelection): parlist cleanup
6125
6126         * BufferView_pimpl.C (trackChanges): parlist cleanup
6127         (dispatch): ditto
6128
6129         * BufferView.C (lockInset): parlist cleanup.
6130         (ChangeInsets): ditto
6131
6132 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6133
6134         * CutAndPaste.h: Update file header.
6135
6136         * CutAndPaste.C: Update file header.
6137         Store the parts cut out of the Document in a limited_stack.
6138         (copySelection): adjust
6139         (pasteSelection): new function, takes the index in the limited stack.
6140         (nrOfParagraphs): adjust
6141         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6142         simplify error inset insertion.
6143         (checkPastePossible): adjust
6144
6145 2003-05-06  John Levon  <levon@movementarian.org>
6146
6147         * text2.C: don't cast wrap inset to float
6148
6149 2003-05-05  André Pönitz  <poenitz@gmx.net>
6150
6151         * iterator.C:
6152         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6153
6154         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6155           few naked Paragraph *.
6156
6157 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6158
6159         * bufferparams.C: Output warning if a document with missing
6160         TeX document class is loaded
6161         * exporter.C: Disable TeX exports if the document class is missing
6162         * lyxtextclass.C:
6163         * lyxtextclass.h:
6164         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6165         isTeXClassAvailable()
6166
6167 2003-05-03  John Levon  <levon@movementarian.org>
6168
6169         * BufferView.h:
6170         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6171         explicit cursor show/hide
6172
6173         * BufferView_pimpl.h:
6174         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6175         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6176
6177         * lyxfunc.C: hide cursor before dispatching.
6178
6179         * lyx_cb.C:
6180         * lyxfind.C:
6181         * text.C:
6182         * text3.C: remove explicit cursor hides
6183
6184 2003-05-02  André Pönitz  <poenitz@gmx.net>
6185
6186         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6187
6188         * undo_funcs.C:
6189         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6190           linked lists
6191
6192         * text2.C: tiny whitespace
6193
6194 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * undo_funcs.C: almost only ws changes.
6197
6198         * ParagraphList.C (splice): just return if pl is empty.
6199
6200 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6201
6202         * ParagraphList.C (splice): new function.
6203
6204         * CutAndPaste.C (pasteSelection): use it
6205
6206 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6207
6208         * CutAndPaste.C (pasteSelection): remove the last next and
6209         previous from this file.
6210
6211 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * CutAndPaste.C (pasteSelection): more clean up, user proper
6214         ParagraphList functions for pasteing.
6215
6216         * ParagraphList.C (insert): new function, three arg insert
6217
6218 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * ParagraphList.C (insert): new function, three arg insert
6221
6222         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6223         not on paragraphs.
6224
6225 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6226
6227         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6228
6229 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6232
6233 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6236         (copySelection): clean up a bit.
6237         (pasteSelection): use make_pair
6238
6239         * ParagraphList.C (ParagraphList): implement copy constructor
6240         (operator=): implement, base on copy constructor.
6241         (assign): new func
6242
6243         * paragraph.C (erase): return a bool
6244
6245         * paragraph_pimpl.C (erasePos): remove function, move contents...
6246         (erase): ... here. Return a bool.
6247         (erase): call erase instead of erasePos.
6248
6249 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6250
6251         * ParagraphList.h: define PitPosPair
6252         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6253         ParagraphList, fix a bug on pasting multiple pars
6254         * text2.C: change interface to C&P
6255
6256 2003-04-30  André Pönitz  <poenitz@gmx.net>
6257
6258         * undo_func.C: revert part of yesterday's patch 2
6259
6260 2003-04-30  John Levon  <levon@movementarian.org>
6261
6262         * LColor.C: s/tabular/table/
6263
6264 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * text3.C (dispatch): do not convert iterator -> pointer
6267         * undo_funcs.C (setCursorParUndo): ditto
6268         * text_funcs.C (transposeChars): ditto
6269
6270         * text2.C (setLayout): ws changes only
6271
6272         * text.C (breakParagraph): do not convert iterator -> pointer
6273         (insertChar): ditto
6274         (acceptChange): ditto
6275         (rejectChange): ditto
6276         (changeCase): ditto
6277         (Delete): ditto
6278         (backspace): ditto
6279
6280         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6281         pointer
6282
6283 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6284
6285         * text3.C (gotoInset): YABG (yet another bad getChar)
6286
6287 2003-04-29  André Pönitz  <poenitz@gmx.net>
6288
6289         * paragraph.h: make operator= private unimplemented as long as
6290           it is unusable
6291
6292         * ParagraphList.C: whitespace
6293
6294         * paragraph.[Ch]:
6295         * paragraph_pimpl.[Ch]:
6296         * paragraph_funcs.C:
6297         * CutAndPaste.C:
6298         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6299
6300         * text2.C:
6301           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6302
6303 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6304
6305         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6306         * paragraph.[Ch] (erase):
6307         * paragraph_pimpl.[Ch] (erase): change return type and value
6308         * text2.C (cutSelection): some rework
6309
6310 2003-04-28  John Levon  <levon@movementarian.org>
6311
6312         * bufferlist.C: changes for unsaved changes dialog
6313
6314 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * bufferlist.C (newFile): set language (messages_) for new
6317         documents also.
6318
6319         * buffer.C (readFile): ws changes only.
6320
6321 2003-04-28  André Pönitz  <poenitz@gmx.net>
6322
6323         * undo_funcs.C:
6324         * lyxfunc.C:
6325         * buffer.[Ch]:
6326         * BufferView_pimpl.C:
6327         * BufferView.C: getParFromID related ParagraphList::iterator changes
6328
6329 2003-04-28  André Pönitz  <poenitz@gmx.net>
6330
6331         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6332           Changes
6333
6334 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * messages.C: remove one more localedir class variable.
6337
6338 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * messages.C (getLocaleDir): singleton generation function
6341         (Pimpl): use it.
6342         (Messages): add a default constructor.
6343
6344         * main.C (main): do not setup localedir here, do not call
6345         gettext_init.
6346
6347         * gettext.C (_): use it.
6348         (gettext_init): delete funciton
6349
6350 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6351
6352         * gettext.C (getLyXMessages): new singleton generating function.
6353
6354         * buffer.C (updateDocLang): adjust
6355
6356         * Makefile.am (messages.o): add target
6357         (main.o): remove target
6358
6359 2003-04-27  John Levon  <levon@movementarian.org>
6360
6361         * bufferlist.C:
6362         * lyx_cb.C:
6363         * lyxfunc.C:
6364         * lyxvc.C: specify cancel button in Alert::prompt
6365
6366 2003-04-26  John Levon  <levon@movementarian.org>
6367
6368         * text3.C:
6369         * lyxfunc.C:
6370         * lfuns.h:
6371         * LyXAction.C: add LFUN_INSET_SETTINGS
6372
6373         * lyxfunc.C: don't enable tabular-feature when there's
6374         just any locking inset
6375
6376 2003-04-26  John Levon  <levon@movementarian.org>
6377
6378         * bufferlist.C: re-add Cancel to buffer close question
6379
6380         * lyxfunc.C: fix import UI a bit
6381
6382 2003-04-25  John Levon  <levon@movementarian.org>
6383
6384         * gettext.C: remove the broken asserts for now
6385
6386 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * messages.C: make case where setlocale cannot comply work better.
6389
6390         * buffer.C (updateDocLang): new function
6391         (changeLanguage): use it
6392         (readFile): use it
6393
6394         * text2.C (setCounter): use B_ a bit.
6395
6396         * lyxlayout.C (Read): be sure to trim the label strings.
6397
6398         * messages.C (Messages): fix typo in comment
6399
6400         * buffer.C (readFile): set message_ after file is loaded.
6401         (makeDocBookFile): remove double return
6402         (changeLanguage): reset message_ upon language change.
6403         (B_): new func, use this to get translated buffer strings.
6404
6405         * main.C: add myself and Jean Marc as authors.
6406
6407 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * messages.[hC]: pimplify Messages, and three different pimpls to be
6410         used in different circumstances.
6411
6412         * gettext.[Ch]: change for use with new message code.
6413
6414 2003-04-24 André Pönitz <poenitz@gmx.net>
6415
6416         * factory.C: support for eqref
6417
6418 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6419
6420         * messages.[Ch]: add missing char
6421
6422         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6423
6424         * messages.[Ch]: New files
6425
6426 2003-04-18  John Levon  <levon@movementarian.org>
6427
6428         * BufferView.h:
6429         * BufferView.C:
6430         * BufferView_pimpl.C:
6431         * lfuns.h:
6432         * LyXAction.C:
6433         * lyxtext.h:
6434         * text2.C: remove layout-copy/paste (bug 778)
6435
6436 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6439
6440 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6441
6442         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6443         if they succeed. Act accordingly.
6444
6445 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6446
6447         * text2.C (setCharFont): adjust
6448         (setCounter): adjust
6449         (insertStringAsLines): adjust
6450
6451         * text.C (leftMargin): adjust
6452         (setHeightOfRow): adjust
6453
6454         * rowpainter.C (paintFirst): adjust
6455         (paintLast): adjust
6456
6457         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6458         (outerHook): ditto
6459         (isFirstInSequence): ditto
6460         (getEndLabel): ditto
6461         (outerFont): adjust
6462
6463         * paragraph.C (getParLanguage): comment out some hard stuff.
6464
6465         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6466         (sgmlError): ditto
6467         (simpleDocBookOnePar): ditto
6468         (makeDocBookFile): use ParagraphList::iterator
6469
6470         * CutAndPaste.C (pasteSelection): adjust
6471
6472 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6473
6474         * text2.C (getFont): adjust
6475         (getLayoutFont): adjust
6476         (getLabelFont): adjust
6477
6478         * paragraph_funcs.C (TeXOnePar): adjust
6479
6480         * buffer.C (simpleLinuxDocOnePar): adjust
6481         (simpleDocBookOnePar): adjust
6482
6483         * CutAndPaste.C (pasteSelection): adjust
6484
6485         * BufferView.C (getEncoding): adjust
6486
6487         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6488
6489 2003-04-16  John Levon  <levon@movementarian.org>
6490
6491         * lyxfind.C: use parlist stuff for search/changes
6492
6493 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6494
6495         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6496
6497         * text2.C (deleteEmptyParagraphMechanism): adjust
6498
6499         * text2.[Ch] (ownerParagraph): delete func (both of them
6500
6501 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6504
6505 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * ParagraphList.C: prepare for NO_NEXT
6508
6509 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * text2.C (getFont): adjust
6512         (getLayoutFont): adjust
6513         (getLabelFont): adjust
6514
6515         * paragraph.C (getFont): adjust
6516         (getLabelFont): adjust
6517         (getLayoutFont): adjust
6518
6519         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6520
6521 2003-04-15  John Levon  <levon@movementarian.org>
6522
6523         From Angus Leeming
6524
6525         * lyx_main.C: handle Include in .ui files
6526
6527 2003-04-15  John Levon  <levon@movementarian.org>
6528
6529         * MenuBackend.C: make the doc files length shorter
6530
6531         * ToolbarBackend.h:
6532         * ToolbarBackend.C: handle toolbar placement flags,
6533         Minibuffer
6534
6535 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6536
6537         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6538         adjust
6539
6540         * paragraph_funcs.C (TeXOnePar): adjust
6541
6542         * paragraph.C (getLabelFont): add outerfont arg, adjust
6543         (getLayoutFont): ditto
6544         (simpleTeXOnePar): adjust
6545
6546         * paragraph_pimpl.C (realizeFont): delete func
6547
6548 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6549
6550         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6551         row argument, constify cur argument.
6552
6553 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * text2.C (getFont): adjust
6556         (getLayoutFont): adjust
6557         (getLabelFont): adjust
6558
6559         * paragraph_funcs.C (TeXOnePar): adjust
6560         (outerFont): new func...
6561         (realizeFont): ...moved out from here, changed this to facilitate
6562         transition
6563
6564         * paragraph.C (getFont): take outerfont as arg, adjust
6565         (simpleTeXOnePar): add outerfont arg, adjust
6566
6567         * buffer.C (simpleLinuxDocOnePar): adjust
6568         (simpleDocBookOnePar): adjust
6569
6570         * CutAndPaste.C (pasteSelection): adjust
6571
6572         * BufferView.C (getEncoding): adjust
6573
6574 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6575
6576         * text2.C (setCharFont): adjust
6577         (setCounter): adjust
6578
6579         * text.C (leftMargin): adjust
6580         (setHeightOfRow): adjust
6581
6582         * rowpainter.C (paintFirst): adjust
6583         (paintLast): adjust
6584
6585         * paragraph_pimpl.C (realizeFont): adjust
6586
6587         * paragraph.C (isFirstInSequence): move from here...
6588         * paragraph_funcs.C (isFirstInSequence): ...to here
6589
6590         * paragraph.C (outerHook): move from here...
6591         * paragraph_funcs.C (outerHook): ...to here
6592
6593         * paragraph.C (depthHook): move from here...
6594         * paragraph_funcs.C (depthHook): ...to here
6595
6596         * paragraph.C (getEndLabel): move from here...
6597         * paragraph_funcs.C (getEndLabel): ...to here
6598
6599         * text2.C (realizeFont): move from here...
6600         * paragraph_funcs.C (realizeFont): ...to here
6601
6602 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6603
6604         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6605
6606 2003-04-14  Angus Leeming  <leeming@lyx.org>
6607
6608         * LColor.[Ch]: scrap LColor mathcursor.
6609
6610 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * lyxlex.[Ch] (text): delete function
6613         * trans.C (Load): adjust
6614         * paragraph_funcs.C (readParToken): adjust
6615
6616 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6617
6618         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6619         vector<char> instead of a char[].
6620
6621         * lyxlex_pimpl.C (getString): adjust
6622         (next): adjust
6623         (lex): use getString
6624         (eatLine): adjust
6625         (nextToken): adjust
6626
6627         * lyxlex.C (text): use pimpl_->getString()
6628         (getBool): ditto
6629         (findToken): ditto
6630
6631 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6632
6633         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6634         (makeFontEntriesLayoutSpecific): temp var for par.size()
6635         (setLayout): temp var for ownerParagraphs().end()
6636         (fullRebreak): temp var for rows().end()
6637         (selectionAsString): temp var for boost::next(startpit), realize
6638         that the while really is a regular for loop.
6639         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6640         setCursor in one place.
6641         (setParagraph): temp vr for ownerParagraphs().end()
6642         (updateCounters): make the while loop a for loop
6643         (cutSelection): temp var for ownerParagraphs().end()
6644         (updateInset): make the do {} while() a regular for loop
6645         (getCursorX): use temp vars
6646         (setCurrentFont): use temp vars
6647         (getColumnNearX): use temp vars
6648
6649 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6650
6651         * text.C (transformChar): use temp var for getChar
6652         (computeBidiTables): use temp var for row->par()
6653         (fill): move temp vars for row->par() and pit->layout() earlier in
6654         the function.
6655         (labelFill): use temp var for row->par()
6656         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6657         asc and desc, realize that pit never changes and that firstpit is
6658         just a duplicate and not needed. Exchange rit->par() with pit in a
6659         lot of places.
6660         (breakAgain): use a temp var for boost::next(rit)
6661         (breakAgainOneRow): ditto
6662         (breakParagraph): use a temp var for rows().begin()
6663         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6664         (cursorRightOneWord): use temp var for cursor.par() and
6665         cursor.pos(), remove usage of tmpcursor.
6666         (cursorLeftOneWord): use temp var for cursor.par() and
6667         cursor.pos() only set cur at end of function.
6668
6669 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6670
6671         * text.C, text2.C: exchange all usage of Paragraph::next with
6672         boost::next(ParagraphList::iterator)
6673
6674         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6675
6676         * text2.C (cursorTop): simplify implementation
6677         (cursorBottom): ditto
6678         (setParagraph): use ParagraphList::iterator
6679         (setCurrentFont): adjust
6680         (getColumnNearX): adjust
6681         (cursorRight): adjust
6682         (cursorLeft): remove usage of Paragraph::previous
6683         (cursorUpParagraph): ditto
6684         (deleteEmptyParagraphMechanism): slight cleanup
6685
6686         * text.C (isBoundary): take a Paragraph const & instead of a
6687         pointer as arg.
6688         (addressBreakPoint): ditto
6689         (leftMargin): remove usage of Paragraph::previous.
6690         (setHeightOfRow): ditto
6691         (cursorLeftOneWord): ditto
6692         (selectNextWordToSpellcheck): ditto
6693         (Delete): ditto
6694         (backspace): ditto
6695         (breakParagraph): remove one usage of Paragraph::next
6696         (redoParagraph): ditto
6697         (acceptChange): ditto
6698         (insertChar): adjust
6699         (rowBreakPoint): adjust
6700
6701         * bufferview_funcs.C (toggleAndShow): adjust
6702
6703 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6704
6705         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6706         methods to access it.
6707         * lyxtext.h:
6708         * text.C: Added updateRowPositions to compute all row positions.
6709         Make top_y and getRowNearY() to use the cached y position
6710
6711 2003-04-11  John Levon  <levon@movementarian.org>
6712
6713         * text.C (rowBreakPoint): reintroduce the labelEnd
6714         checks, code copied from the row fill stuff. Deep voodoo.
6715
6716         * text.C (fill): add a comment and debugging for the
6717         next poor soul.
6718
6719 2003-04-11  John Levon  <levon@movementarian.org>
6720
6721         * text.C: make sure fullrow insets get wrapped to the next line,
6722         even when they're in a manual label
6723
6724 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6725
6726         * text2.C (insertParagraph): make it take ParagraphList::iterator
6727         as arg.
6728         (setLayout): make it return ParagraphList::iterator
6729         (redoParagraphs): ditto
6730         (setCounter): ditto
6731         (checkParagraph): ditto
6732
6733         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6734
6735         * text2.C: adjust several funcs.
6736         (realizeFont): take a ParagraphList::iterator as arg.
6737         (getLayoutFont): ditto
6738         (getLabelFont): ditto
6739         (setCharFont): ditto
6740
6741         * text.C: adjust several funcs.
6742
6743 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6744
6745         * text.C (selectNextWordToSpellcheck): don't accidentally
6746         skip insets
6747
6748 2003-04-10  John Levon  <levon@movementarian.org>
6749
6750         * ToolbarBackend.C (getIcon): special handling for
6751         LFUN_MATH_DELIM
6752
6753 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6754
6755         * text2.C (cursorRight): a getChar assert fixed
6756
6757 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6758
6759         * text2.C (getFont): change to take a ParagraphList::iterator
6760         instead of Paragraph*
6761         Adjust several functions.
6762
6763         * text.C (transformChar): change to take a ParagraphList::iterator
6764         instead of Paragraph*
6765         (singleWidth): ditto
6766         Adjust several functions.
6767
6768         * rowpainter.C: adjust several functions
6769         * rowpainter.h:store a ParagraphList::iterator and not a
6770         Paragraph&.
6771
6772
6773 2003-04-09  John Levon  <levon@movementarian.org>
6774
6775         * lyxfunc.C:
6776         * lfuns.h:
6777         * LyXAction.h:
6778         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6779         and the "help" bits as well
6780
6781 2003-04-09  John Levon  <levon@movementarian.org>
6782
6783         * ToolbarBackend.h:
6784         * ToolbarBackend.C: allow multiple toolbars
6785
6786 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * undo_funcs.C (setCursorParUndo): adjust
6789
6790         * text_funcs.C (transposeChars): adjust
6791
6792         * text3.C (gotoNextInset): adjust
6793         (dispatch): adjust
6794
6795         * text2.C (setLayout): adjust
6796         (changeDepth): adjust
6797         (setFont): adjust
6798         (redoParagraphs): adjust
6799         (selectionAsString): adjust
6800         (setParagraph): adjust
6801         (insertInset): adjust
6802         (cutSelection): adjust
6803         (copySelection): adjust
6804         (pasteSelection): adjust
6805         (insertStringAsLines): adjust
6806         (updateInset): adjust
6807         (setCursor): change to take a ParagraphList::iterator parameter
6808         (setCursorIntern): change to take a ParagraphList::iterator parameter
6809         (setCurrentFont): adjust
6810         (cursorLeft): adjust
6811         (cursorRight): adjust
6812         (deleteEmptyParagraphMechanism): adjust
6813
6814         * text.C (breakParagraph): adjust
6815         (insertChar): adjust
6816         (acceptChange): adjust
6817         (rejectChange): adjust
6818         (selectNextWordToSpellcheck): adjust
6819         (changeCase): adjust
6820         (Delete): adjust
6821         (backspace): adjust
6822
6823         * lyxfind.C (SearchForward): adjust
6824         (SearchBackward): adjust
6825         (nextChange): adjust
6826
6827         * lyxcursor.C (par): adjust
6828
6829         * lyxcursor.h: store a ParagraphList::iterator instead of a
6830         Paragraph*
6831
6832         * lyx_cb.C (getPossibleLabel): adjust
6833
6834         * bufferview_funcs.C (toggleAndShow): adjust
6835
6836         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6837         (dispatch): adjust
6838
6839         * BufferView.C (removeAutoInsets): adjust
6840         (lockedInsetStoreUndo): adjust
6841
6842 2003-04-09  John Levon  <levon@movementarian.org>
6843
6844         * ToolbarBackend.C: try icon without argument
6845         if with argument fails
6846
6847 2003-04-08  John Levon  <levon@movementarian.org>
6848
6849         * ToolbarBackend.h:
6850         * ToolbarBackend.C: add getIcon(), handle tooltip,
6851         and change from "Icon" to "Item".
6852
6853 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * BufferView.C (lockInset): another bad getchar crunched
6856
6857 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6858
6859         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6860         again)
6861
6862 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6863
6864         * lyxfind.C (searchForward, searchBackwards): bug 782
6865
6866 2003-04-07  John Levon  <levon@movementarian.org>
6867
6868         * paragraph.C: remove dead comment
6869
6870         * text.C: remove troublesome depth-fiddling code
6871         in leftMargin() and rightMargin() (bug 1017)
6872
6873         * text.C: fix breaking of rows in nested lists
6874         (bug 1004)
6875
6876         * text2.C (updateCounters): fix up depth values
6877         (bug 1013)
6878
6879 2003-04-07  John Levon  <levon@movementarian.org>
6880
6881         * BufferView_pimpl.C: clear message when doc finishes resizing,
6882         and after a mouse event
6883
6884         * lyxfunc.C: clear message after exiting inset
6885
6886 2003-04-07  John Levon  <levon@movementarian.org>
6887
6888         * bufferview_funcs.C: show math status not outside
6889         status in the statusbar
6890
6891 2003-04-07  John Levon  <levon@movementarian.org>
6892
6893         * lyxfunc.C: note status changed after a depth change
6894
6895 2003-04-04  Angus Leeming  <leeming@lyx.org>
6896
6897         * LaTeX.h: move AuxInfo operator==, != out of line.
6898         Remove LaTeX virtual destructor; nothing derives from it.
6899         Move operator()() out of public area and rename it startscript().
6900         Change protected for private.
6901
6902 2003-04-04  Angus Leeming  <leeming@lyx.org>
6903
6904         * lyxfunc.C:
6905         * text2.C: remove unneeded #includes.
6906
6907 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6908
6909         * text2.C (dEPM): fix the heigth of the next row
6910
6911 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6912
6913         * text.C: squashed an invalid getChar requester + some ws changes
6914
6915 2003-04-03  John Levon  <levon@movementarian.org>
6916
6917         * bufferview_funcs.h:
6918         * bufferview_funcs.C:
6919         * lyxfunc.C:
6920         * lyxtext.h:
6921         * text2.C: make getStatus work for the env depth lfuns
6922
6923 2003-04-03  John Levon  <levon@movementarian.org>
6924
6925         * bufferview_funcs.h:
6926         * bufferview_funcs.C:
6927         * lyxfunc.C:
6928         * lyxtext.h:
6929         * text2.C: parlistize decDepth(), by merging it with incDepth()
6930
6931 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * lyxrow.h: store a ParagraphList::iterator instead of a
6934         Paragraph* and adjust other class functions to suit.
6935
6936         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6937         above.
6938
6939 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6940
6941         * text2.C (setCursor): do not anchor to cursor row for the time being
6942
6943 2003-04-02  John Levon  <levon@movementarian.org>
6944
6945         * LyXAction.C:
6946         * lfuns.h:
6947         * lyx_main.C:
6948         * lyxtext.h:
6949         * text.C:
6950         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6951
6952 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6953
6954         * paragraph.h: make ParagraphList and ParagraphList::iterator
6955         friends of Paragraph.
6956
6957         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6958
6959         * ParagraphList.C: Use the private next_ and previous_ from
6960         Paragraph.
6961
6962 2003-04-01  John Levon  <levon@movementarian.org>
6963
6964         * ToolbarBackend.h:
6965         * ToolbarBackend.C:
6966         * Makefile.am: rename, remove defaults gunk
6967
6968         * MenuBackend.h:
6969         * MenuBackend.C: remove defaults gunk
6970
6971         * Languages.h:
6972         * Languages.C: remove defaults gunk
6973
6974         * lyx_main.h:
6975         * lyx_main.C: error out if files couldn't be found.
6976
6977 2003-04-02  John Levon  <levon@movementarian.org>
6978
6979         * text2.C: make incDepth() use parlist
6980
6981 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * undo_funcs.C (firstUndoParagraph): adjust
6984
6985         * text3.C (gotoInset): adjust
6986         (dispatch): adjust, and rewrite loop.
6987
6988         * text2.C (init): adjust, and rewrite loop.
6989         (redoParagraphs): adjust
6990         (updateInset): adjust, and rewrite loop.
6991         (deleteEmptyParagraphMechanism): adjust
6992
6993         * tabular.C (LyXTabular): adjust
6994         (SetMultiColumn): adjust
6995         (TeXRow): adjust
6996
6997         * lyxtext.[Ch] (ownerParagraph): delete function
6998         (ownerParagraphs): new function returns a ParagraphList.
6999
7000         * BufferView.C (removeAutoInsets): adjust
7001         (insertErrors): adjust
7002         (setCursorFromRow): adjust
7003
7004 2003-04-01  Angus Leeming  <leeming@lyx.org>
7005
7006         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7007         in the frontends.
7008
7009 2003-04-02  John Levon  <levon@movementarian.org>
7010
7011         * lyxtext.h:
7012         * text.C:
7013         * Makefile.am:
7014         * text_funcs.h:
7015         * text_funcs.C: make transposeChars a free function
7016
7017         * lyxrow_funcs.C: remove wrong comment
7018
7019 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7020
7021         * lyxtext.h: adjust
7022         * rowpainter.C: adjust
7023         * text.C: adjust
7024         * text2.C: adjust
7025         * text3.C: adjust
7026
7027         * lyxrow_funcs. [Ch]: new files
7028
7029         * lyxrow.[Ch]: remove next and previous pointers
7030         (next,previous): remove accessor functions
7031         (isParEnd): move to lyxrow_funcs
7032         (lastPos): move to lyxrow_funcs
7033         (nextRowIsAllInset): move to lyxrow_funcs
7034         (lastPrintablePos): move to lyxrow_funcs
7035         (numberOfSeparators): move to lyxrow_funcs
7036         (numberOfHfills): move to lyxrow_funcs
7037         (numberOfLabelHfills): move to lyxrow_funcs
7038         (hfillExpansion): move to lyxrow_funcs
7039
7040         * lyxfunc.C: adjust
7041
7042         * bufferview_funcs.C (toggleAndShow): adjust
7043
7044         * RowList.h: Remove class RowList from file leave just a
7045         std::list<Row>.
7046
7047         * RowList.C: delete file
7048
7049         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7050         and lyxrow_funcs.h
7051
7052 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7053
7054         * text3.C (cursorPrevious): adjust
7055         (cursorNext): adjust
7056         (dispatch): adjust
7057
7058         * text2.C (redoHeightOfParagraph): adjust
7059         (redoDrawingOfParagraph): adjust
7060         (setCursor): adjust
7061
7062         * text.C (breakParagraph): adjust
7063         (insertChar): adjust
7064         (backspace): adjust
7065
7066         * rowpainter.C (RowPainter): adjust
7067         (leftMargin): simplify and adjust
7068         (most rowpainter functions): adjust.
7069
7070         * rowpainter.h: store the row as RowList::iterator not as Row*
7071
7072         * lyxcursor.C (row): taka RowList::iterator as arg
7073         (irow): ditto
7074
7075         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7076         of Row*.
7077
7078 2003-04-01  Angus Leeming  <leeming@lyx.org>
7079
7080         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7081         stuff like bool Bool.
7082
7083 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7084
7085         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7086         rewrite a loop
7087
7088 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7091         RowList::iterator.
7092
7093         * lyxtext.h (rows): drop one version and leve a const variant that
7094         returns a RowList::iterator.
7095
7096 2003-03-31  Angus Leeming  <leeming@lyx.org>
7097
7098         * text.C (fill): ensure that the signature is the same as that in the
7099         header file.
7100
7101 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7102
7103         * text2.C (redoParagraphs): adjust
7104         (updateCounters): adjust
7105         (checkParagraph): adjust
7106         (getColumnNearX): adjust and reformat a bit.
7107
7108         * text.C (top_y): adjust
7109         (workWidth): adjust
7110         (leftMargin): adjust
7111         (prepareToPrint): adjust
7112         (getRow): adjust
7113         (getRowNearY): adjust
7114
7115         * lyxtext.h: make rowlist_ mutable.
7116
7117         * RowList.h: add const_iterator
7118         * RowList.C: adjust for RowList::const_iterator.
7119
7120         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7121         adjust.
7122
7123 2003-03-31  John Levon  <levon@movementarian.org>
7124
7125         * lyxrc.h:
7126         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7127
7128         * lyx_main.C: set default fonts from using lyx_gui funcs
7129
7130         * exporter.C: pdf_mode moved from lyxrc
7131
7132         * lyx_cb.C:
7133         * lyxfunc.C: changes from above
7134
7135 2003-03-31  John Levon  <levon@movementarian.org>
7136
7137         * lyx_main.C: fix to the last fix
7138
7139 2003-03-31  John Levon  <levon@movementarian.org>
7140
7141         * bufferlist.C: "Load original" -> "Load Original"
7142
7143         * converter.C:
7144         * exporter.C:
7145         * importer.C:
7146         * lyx_main.C:
7147         * format.C: more Alert cleanups
7148
7149 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * text2.C (removeParagraph): make it take a RowList::iterator as
7152         arg, adjust.
7153         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7154         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7155
7156         * text.C (anchor_row): make it take a RowList::iterator as arg,
7157         adjust.
7158         (computeBidiTables): make it take a const reference to Row instead
7159         of Row pointer, adjust.
7160         (leftMargin): make it take a RowList::iterator as arg, adjust.
7161         (rowBreakPoint): adjust
7162         (breakAgainOneRow): make it take a RowList::iterator as arg,
7163         adjust.
7164         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7165
7166         * bufferview_funcs.C (toggleAndShow): adjust
7167
7168 2003-03-30  John Levon  <levon@movementarian.org>
7169
7170         * Makefile.am:
7171         * BoostFormat.h:
7172         * boost-inst.C: moved to support
7173
7174         * several files: changes as a result
7175
7176 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7177
7178         * text2.C (LyXText): adjust.
7179         (init): adjust
7180         (removeRow): make it take a RowList::iterator as arg, adjust.
7181         (fullRebreak): adjust
7182         (deleteEmptyParagraphMechanism): adjust
7183         (clearPaint): adjust
7184         (postPaint): adjust
7185
7186         * text.C (top_y): adjust
7187         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7188         (breakAgain): make it take a RowList::iterator as arg, adjust.
7189         (breakParagraph): adjust
7190         (insertChar): adjust
7191         (backspace): adjust
7192
7193         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7194         need_break_row, and refresh_row.
7195
7196         * text3.C (dispatch): adjust
7197
7198         * text2.C (checkParagraph): adjust
7199         (setCursor): adjust
7200         (setCursorFromCoordinates): adjust
7201
7202         * text.C (top_y): adjust
7203         (workWidth): adjust
7204         (getRow): make it return a RowList::iterator, adjust
7205         (getRowNearY): make it return a RowList::iterator, adjust
7206
7207         * text2.C (init): adjust
7208         (insertRow): remove function
7209         (insertParagraph): adjust
7210         (redoParagraphs): adjust
7211         (fullRebreak): adjust
7212         (updateCounters): adjust
7213
7214         * text.C (top_y): rewrite to use RowList iterators.
7215         (top_y): adjust
7216         (setHeightOfRow): rewrite to sue RowList iterators.
7217         (appendParagraph): adjust
7218         (breakAgain): adjust
7219         (breakAgainOneRow): adjust
7220         (breakParagraph): adjust
7221         (getRow): adjust
7222         (getRowNearY): adjust, and remove commented code.
7223
7224         * lyxtext.h (firstRow): delete function
7225         (lastRow): delete function
7226         (rows): new function (const and non-const versions.)
7227         (insertRow): delete function
7228
7229         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7230
7231 2003-03-29  John Levon  <levon@movementarian.org>
7232
7233         * BufferView_pimpl.C: always update scrollbar top
7234         because pasting text when we're anchored could mean we
7235         miss an update altogether
7236
7237 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7238
7239         * text2.C (init): use rowlist_.end() and not 0.
7240         (insertRow): change to take a RowList::iterator as arg, adjust
7241         for this.
7242         (insertParagraph): change to take a RowList::iterator as arg,
7243         adjust for this.
7244         (redoParagraphs): remove some debug msgs.
7245
7246         * text.C (appendParagraph): change to take a RowList::iterator
7247         arg, adjust for this.
7248         (breakAgain): add an assert
7249         (breakAgainOneRow): ditto
7250
7251 2003-03-29  John Levon  <levon@movementarian.org>
7252
7253         * text2.C: do not clear selection after inc/decDepth
7254         (bug 550)
7255
7256 2003-03-29  John Levon  <levon@movementarian.org>
7257
7258         * BufferView.C:
7259         * buffer.C: fix broken strerrors according to Lars
7260
7261 2003-03-29  John Levon  <levon@movementarian.org>
7262
7263         * converters.C: more Alert cleanups
7264
7265 2003-03-29  John Levon  <levon@movementarian.org>
7266
7267         * bufferview_funcs.C: remove pointless Alert
7268
7269         * buffer.C: fix confusing error message when
7270         a template is chmoded 000
7271
7272 2003-03-29  John Levon  <levon@movementarian.org>
7273
7274         * BufferView.C:
7275         * BufferView.h:
7276         * BufferView_pimpl.C: Alert fixes
7277
7278         * Makefile.am:
7279         * tabular.C:
7280         * tabular-old.C: remove unused table compat reading
7281
7282 2003-03-29  John Levon  <levon@movementarian.org>
7283
7284         * BufferView.C:
7285         * buffer.C:
7286         * lyx_cb.h:
7287         * lyx_cb.C: more Alert cleanups
7288
7289         * lyxfunc.C: don't allow chktex if not latex document
7290
7291 2003-03-29  John Levon  <levon@movementarian.org>
7292
7293         * lyx_cb.C:
7294         * BufferView.C:
7295         * buffer.C: warnings pushed down from support/,
7296         kill err_alert
7297
7298 2003-03-29  John Levon  <levon@movementarian.org>
7299
7300         * lyxfunc.C: safety check for C-r (revert)
7301
7302 2003-03-29  John Levon  <levon@movementarian.org>
7303
7304         * bufferlist.h:
7305         * bufferlist.C: several UI fixes using Alert::prompt.
7306         Fix the pointless looping quit code. Fix stupid revert
7307         behaviour (bug 938)
7308
7309         * lyxvc.h:
7310         * lyxvc.C:
7311         * lyx_cb.C: use Alert::prompt
7312
7313         * lyx_main.C: remove a silly question
7314
7315         * lyxfunc.C: remove a couple of silly questions,
7316         use Alert::prompt
7317
7318 2003-03-28  John Levon  <levon@movementarian.org>
7319
7320         * text2.C: fix bug 974 (End on empty par)
7321
7322 2003-03-28  John Levon  <levon@movementarian.org>
7323
7324         * BufferView_pimpl.C:
7325         * LyXAction.C:
7326         * lfuns.h: remove do-nothing math greek lfuns
7327
7328 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7329
7330         * lyxgluelength.h (isValidGlueLength): add default arg on
7331         parameter 2. Remove default arg from friend in class.
7332
7333         * lyxlength.h (isValidLength): add default arg on parameter 2.
7334         Remove default arg from friend in class.
7335
7336         * text2.C (LyXText): adjust, initialize refresh_row.
7337         (init): adjust
7338         (removeRow): adjust
7339         (insertRow): adjust
7340         (insertParagraph): adjst
7341         (redoParagraphs): adjust
7342         (fullRebreak): adjust
7343         (updateCounters): adjust
7344         (deleteEmptyParagraphMechanism): first attempt at fixing a
7345         crashing bug.
7346
7347         * text.C (top_y): adjust
7348         (setHeightOfRow): adjust
7349         (getRow): adjust
7350         (getRowNearY): adjust
7351
7352         * lyxtext.h: include RowList.h
7353         (~LyXText): not needed anymore, deleted.
7354         (firstRow): modify for RowList
7355         (lastRow): new function
7356         Delete firstrow and lastrow class variables, add a Rowlist
7357         rowlist_ class variable.
7358
7359         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7360         paragraph is empty.
7361
7362         * RowList.C (insert): fix case where it == begin().
7363
7364 2003-03-26  Angus Leeming  <leeming@lyx.org>
7365
7366         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7367         the thesaurus dialog.
7368
7369 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7370
7371         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7372
7373         * RowList.[Ch]: new files
7374
7375         * ParagraphList.C (erase): handle the case where it == begin
7376         correctly.
7377
7378 2003-03-25  John Levon  <levon@movementarian.org>
7379
7380         * Makefile.am:
7381         * aspell_local.h:
7382         * aspell.C: add new aspell support
7383
7384         * lyxrc.h:
7385         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7386         have it accessible.
7387
7388 2003-03-25  Angus Leeming  <leeming@lyx.org>
7389
7390         * lfuns.h:
7391         * LyXAction.C (init): new LFUN_INSET_INSERT.
7392
7393         * BufferView_pimpl.C (dispatch): split out part of the
7394         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7395
7396         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7397         LFUN_INSET_APPLY.
7398
7399 2003-03-25  Angus Leeming  <leeming@lyx.org>
7400
7401         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7402
7403 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7404
7405         * text2.C:
7406         * text3.C: remove useless row->height(0)
7407
7408 2003-03-25  John Levon  <levon@movementarian.org>
7409
7410         * lyxtext.h:
7411         * text2.C:
7412         * text3.C: rename the refreshing stuff to better names
7413
7414 2003-03-24  John Levon  <levon@movementarian.org>
7415
7416         * BufferView_pimpl.h:
7417         * BufferView_pimpl.C: update layout choice on a mouse
7418         press/release
7419
7420 2003-03-23  John Levon  <levon@movementarian.org>
7421
7422         * Makefile.am: fix commandtags.h reference
7423
7424 2003-03-22  John Levon  <levon@movementarian.org>
7425
7426         * BufferView_pimpl.C:
7427         * lyxtext.h:
7428         * rowpainter.C:
7429         * rowpainter.h:
7430         * text.C:
7431         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7432
7433 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7434
7435         * lyxtext.h:
7436         * text.C: take the rtl methods out of line
7437
7438 2003-03-21 André Pönitz <poenitz@gmx.net>
7439
7440         * metricsinfo.[Ch]: new files containing structures to be passed around
7441         during the two-phase-drawing...
7442
7443 2003-03-21 André Pönitz <poenitz@gmx.net>
7444
7445         * lyxtextclass.C: read 'environment' tag.
7446
7447 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7448
7449         * text2.C (removeRow): fix bug 964
7450
7451 2003-03-20  John Levon  <levon@movementarian.org>
7452
7453         * rowpainter.C:
7454         * text.C:
7455         * text2.C: paint cleanups. Inset::update() dropped font
7456         parameter
7457
7458 2003-03-19  John Levon  <levon@movementarian.org>
7459
7460         * lyxfunc.C: only fitcursor/markDirty if available()
7461
7462 2003-03-19  John Levon  <levon@movementarian.org>
7463
7464         * commandtags.h: rename to ...
7465
7466         * lfuns.h: ... this, and renumber / cleanup
7467
7468 2003-03-19  John Levon  <levon@movementarian.org>
7469
7470         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7471         fit the cursor after an lfun
7472
7473         * BufferView.h:
7474         * BufferView.C:
7475         * BufferView_pimpl.h:
7476         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7477
7478         * LyXAction.C: layout-character should have ReadOnly
7479
7480         * ParagraphParameters.C:
7481         * buffer.C:
7482         * bufferview_funcs.C:
7483         * lyx_cb.C:
7484         * lyxfind.C:
7485         * lyxtext.h:
7486         * text.C:
7487         * text2.C:
7488         * text3.C:
7489         * undo_funcs.C: changes from above
7490
7491 2003-03-18  John Levon  <levon@movementarian.org>
7492
7493         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7494         remove it from update()
7495
7496         * lyxfunc.C: update layout choice after an lfun
7497
7498         * text3.C: remove extra updateLayoutChoice()s
7499
7500 2003-03-18  John Levon  <levon@movementarian.org>
7501
7502         * text.C: top_y change means full repaint, fix
7503         a drawing bug with cursor movement
7504
7505 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7506
7507         * lyxtext.h:
7508         * text.C:
7509         * text2.C: anchor row on setCursor
7510
7511 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7512
7513         * lyxtext.h: remove almost all mutable keywords
7514         * text.C:
7515         * text2.C:
7516         * text3.C: remove const keywords accordingly
7517
7518 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7519
7520         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7521         anon namespace
7522         (TeXEnvironment): ditto
7523         (TeXOnePar): ditto
7524
7525 2003-03-17  John Levon  <levon@movementarian.org>
7526
7527         * text.C (rowBreakPoint): remove attempt to fix displayed
7528         math insets inside a manual label
7529
7530 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7531
7532         * lyxtext.h: remove BufferView* as first arg from almost all class
7533         functions.
7534         * other files: adjust.
7535
7536 2003-03-17  John Levon  <levon@movementarian.org>
7537
7538         * lyxtext.h:
7539         * undo_funcs.C:
7540         * text2.C: more paint cleanups
7541
7542         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7543
7544         * rowpainter.h:
7545         * rowpainter.C: remove "smart" background painting code
7546
7547 2003-03-16  John Levon  <levon@movementarian.org>
7548
7549         * lyxtext.h:
7550         * text.C:
7551         * text2.C:
7552         * text3.C: add helper functions for setting refresh_row/y
7553
7554 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7555
7556         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7557         newline inset which *can* get inserted in the pass_thru layouts.
7558         This is primarily for literate documents.
7559
7560 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7561
7562         * buffer.C: increment LYX_FORMAT to 223
7563
7564 2003-03-14 André Pönitz <poenitz@gmx.net>
7565
7566         * textclass.h: prepare for environment handling, ws changes
7567         * lyxlayout.C: read latexheader and latexfooter tags
7568
7569 2003-03-14  John Levon  <levon@movementarian.org>
7570
7571         * text2.C: rewrite ::status() a bit
7572
7573 2003-03-13  John Levon  <levon@movementarian.org>
7574
7575         * lyxtext.h: add some docs
7576
7577 2003-03-13  John Levon  <levon@movementarian.org>
7578
7579         * lyxtext.h:
7580         * text.C:
7581         * text2.C:
7582         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7583
7584 2003-03-13  John Levon  <levon@movementarian.org>
7585
7586         * text3.C: fix appendix redrawing
7587
7588 2003-03-13  John Levon  <levon@movementarian.org>
7589
7590         * text.C (setHeightOfRow):
7591         * rowpainter.h:
7592         * rowpainter.C: make appendix mark have the text
7593           "Appendix" so the user knows what it is
7594
7595         * LColor.h:
7596         * LColor.C: s/appendixline/appendix/ from above
7597
7598 2003-03-13  John Levon  <levon@movementarian.org>
7599
7600         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7601
7602         * text.C: fix a getChar(pos) bug properly
7603
7604 2003-03-13  Angus Leeming  <leeming@lyx.org>
7605
7606         * commandtags.h:
7607         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7608         Probably only temporary. Let's see how things pan out.
7609
7610         * BufferView.C (unlockInset):
7611         * BufferView_pimpl.C (fitCursor):
7612         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7613
7614         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7615         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7616
7617         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7618         new functions that convert ParagraphParameters to and from a string.
7619
7620         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7621         BufferView::Pimpl's dispatch.
7622         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7623
7624 2003-03-13 André Pönitz <poenitz@gmx.net>
7625
7626         * lyxfunc.C:
7627         * text3.C:
7628         * factory.C: make it aware of InsetEnv
7629
7630 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * text2.C (setCursor): never ask for one past last
7633         (setCursor): add some debugging messages.
7634
7635         * text.C (singleWidth): never ask for one past last
7636         (singleWidth): ditto
7637         (leftMargin): ditto
7638         (rightMargin): ditto
7639         (rowBreakPoint): ditto
7640         (setHeightOfRow): ditto
7641         (prepareToPrint): ditto
7642
7643         * rowpainter.C (paintBackground): never ask for one past last
7644         (paintText): never ask for one past last
7645
7646         * paragraph_pimpl.C (getChar): make the assert stricter, never
7647         allow the one past last pos to be taken
7648
7649         * paragraph.C (getChar): ws changes only
7650
7651         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7652         (numberOfSeparators): ditto
7653         (numberOfHfills): ditto
7654
7655 2003-03-12  John Levon  <levon@movementarian.org>
7656
7657         * author.h:
7658         * author.C:
7659         * bufferparams.h:
7660         * bufferparams.C:
7661         * paragraph_funcs.C: fix per-buffer authorlists
7662
7663 2003-03-12  John Levon  <levon@movementarian.org>
7664
7665         * text.C: fix newline in right address
7666
7667 2003-03-12  Angus Leeming  <leeming@lyx.org>
7668
7669         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7670         duplicate those in LyXFunc::dispatch.
7671
7672         * commandtags.h:
7673         * LyXAction.C:
7674         * ToolbarDefaults.C:
7675         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7676         Add LFUN_FONTFREE_UPDATE.
7677
7678         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7679         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7680
7681         * bufferview_func.[Ch]: several new functions to facilliate
7682         transfer of data to and from the character dialog.
7683
7684 2003-03-12  John Levon  <levon@movementarian.org>
7685
7686         * buffer.C:
7687         * paragraph.h:
7688         * paragraph.C:
7689         * paragraph_funcs.C:
7690         * paragraph_pimpl.C:
7691         * sgml.C:
7692         * tabular.C:
7693         * text.C:
7694         * text3.C: remove META_NEWLINE in favour of an inset
7695
7696         * rowpainter.h:
7697         * rowpainter.C: remove paintNewline (done by inset)
7698
7699 2003-03-12  John Levon  <levon@movementarian.org>
7700
7701         * paragraph_pimpl.C: complain about bad getChar()s
7702         for a while at least
7703
7704 2003-03-12  John Levon  <levon@movementarian.org>
7705
7706         * buffer.h:
7707         * buffer.C: move paragraph read into a separate function,
7708         a little renaming to reflect that.
7709
7710         * bufferparams.h:
7711         * bufferparams.C: remove the author_ids map, not necessary now
7712
7713         * factory.h:
7714         * factory.C: moved Buffer::readInset to here
7715
7716         * paragraph_funcs.h:
7717         * paragraph_funcs.C: readParagraph free function moved from
7718         buffer.C
7719
7720         * tabular.C: name change
7721
7722 2003-03-12  John Levon  <levon@movementarian.org>
7723
7724         * buffer.C:
7725         * ParagraphParameters.C: move par params input to
7726         a read() method
7727
7728         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7729         behave like a normal read from the stream wrt reading
7730         a line vs. a \\token
7731
7732 2003-03-12  John Levon  <levon@movementarian.org>
7733
7734         * paragraph.C:
7735         * ParagraphParameters.h:
7736         * ParagraphParameters.C: move output code to a
7737         ::write() method
7738
7739 2003-03-12  John Levon  <levon@movementarian.org>
7740
7741         * BufferView.C (insertLyXFile):
7742         * buffer.h:
7743         * buffer.C:
7744         * tabular.C: use a parlist iterator for creating the
7745           document.
7746
7747 2003-03-12  John Levon  <levon@movementarian.org>
7748
7749         * buffer.C: make current_change static local not
7750           static file-scope
7751
7752 2003-03-12  John Levon  <levon@movementarian.org>
7753
7754         * buffer.C: fix insertStringAsLines for change tracking
7755
7756 2003-03-12  John Levon  <levon@movementarian.org>
7757
7758         * BufferView.C:
7759         * tabular.C:
7760         * buffer.h:
7761         * buffer.C:
7762         * bufferparams.h:
7763         * bufferparams.C: move author list into params. Rename some
7764           functions. Move the header reading into a separate token
7765           loop. Move the header token reading into BufferParams.
7766
7767 2003-03-12  John Levon  <levon@movementarian.org>
7768
7769         * changes.C: put debug inside lyxerr.debugging() checks
7770
7771 2003-03-11 André Pönitz <poenitz@gmx.net>
7772
7773         * factory.C: make it aware of InsetHFill
7774
7775 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7776
7777         * buffer.C (latexParagraphs): move function from here...
7778         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7779         args.
7780
7781 2003-03-10  Angus Leeming  <leeming@lyx.org>
7782
7783         * LyXAction.C (init): fix bug in poplating array with multiple entries
7784         with the same LFUN (spotted by JMarc).
7785
7786 2003-03-10  John Levon  <levon@movementarian.org>
7787
7788         * text.C:
7789         * text2.C: move getColumnNearX() near its
7790         only call site
7791
7792 2003-03-10  John Levon  <levon@movementarian.org>
7793
7794         * text.C: fix break before a minipage
7795
7796 2003-03-10  John Levon  <levon@movementarian.org>
7797
7798         * text.C: fix the last commit
7799
7800 2003-03-09  John Levon  <levon@movementarian.org>
7801
7802         * lyxtext.h:
7803         * text.C:
7804         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7805         bug 365 (don't break before insets unless needed). Don't
7806         return a value > last under any circumstances.
7807
7808 2003-03-09  Angus Leeming  <leeming@lyx.org>
7809
7810         * BufferView_pimpl.C (trackChanges, dispatch): call
7811         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7812
7813 2003-03-09  Angus Leeming  <leeming@lyx.org>
7814
7815         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7816         than Dialogs::showAboutlyx().
7817
7818 2003-03-09  Angus Leeming  <leeming@lyx.org>
7819
7820         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7821         than Dialogs::showTabularCreate().
7822
7823 2003-03-09  John Levon  <levon@movementarian.org>
7824
7825         * lyxtext.h:
7826         * text.C:
7827         * text2.C: 3rd arg to nextBreakPoint was always the same.
7828           Use references.
7829
7830 2003-03-08  John Levon  <levon@movementarian.org>
7831
7832         * lyxrow.C:
7833         * paragraph.C:
7834         * paragraph.h:
7835         * rowpainter.C:
7836         * text.C:
7837         * text2.C: Remove the "main" bit from the "main body"
7838           notion.
7839
7840 2003-03-08  John Levon  <levon@movementarian.org>
7841
7842         * text.C (leftMargin): The left margin of an empty
7843         manual label paragraph should not include the label width
7844         string length.
7845
7846         * text.C (prepareToPrint): don't attempt to measure hfills
7847         for empty manual label paragraphs - the answer should be 0
7848
7849 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7850
7851         * CutAndPaste.C: remove commented code and reindent.
7852
7853 2003-03-08  John Levon  <levon@movementarian.org>
7854
7855         * lyxfunc.h:
7856         * lyxfunc.C: move reloadBuffer()
7857
7858         * BufferView.h:
7859         * BufferView.C: to here
7860
7861         * lyxvc.C: add comment
7862
7863         * vc-backend.h:
7864         * vc-backend.C: call bv->reload() to avoid
7865           getStatus() check on MENURELOAD
7866
7867 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7868
7869         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7870         to an old format .dep file.
7871
7872 2003-03-07  Angus Leeming  <leeming@lyx.org>
7873
7874         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7875         when the LFUN_MOUSE_RELEASE should have been handled by
7876         inset->localDispatch.
7877
7878 2003-03-07  Angus Leeming  <leeming@lyx.org>
7879
7880         * BufferView_pimpl.C (dispatch):
7881         * LyXAction.C (init):
7882         * ToolbarDefaults.C (init):
7883         * commandtags.h:
7884         * lyxfunc.C (getStatus):
7885         remove LFUN_INSET_GRAPHICS.
7886
7887         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7888
7889 2003-03-07  Angus Leeming  <leeming@lyx.org>
7890
7891         * commandtags.h:
7892         * LyXAction.C (init):
7893         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7894
7895         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7896
7897         * commandtags.h:
7898         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7899
7900         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7901         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7902
7903 2003-03-07  Angus Leeming  <leeming@lyx.org>
7904
7905         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7906         remove "ert".
7907
7908 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7909
7910         * ParagraphList.C (front): new function
7911         (back): implement
7912
7913 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7914
7915         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7916         and top_row_offset_. removed var first_y.
7917         * text.C (top_y):
7918         * text2.C (LyXText, removeRow):
7919         * text3.C:
7920         * BufferView_pimpl.C:
7921         use these methods instead of using first_y
7922
7923 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * text2.C (pasteSelection): adjust for checkPastePossible
7926
7927         * CutAndPaste.C: remove Paragraph * buf and replace with
7928         ParagraphList paragraphs.
7929         (DeleteBuffer): delete
7930         (cutSelection): change the tc type to textclass_type
7931         (copySelection): change the tc type to textclass_type
7932         (copySelection): adjust for ParagraphList
7933         (pasteSelection): change the tc type to textclass_type
7934         (pasteSelection): adjust for Paragraphlist
7935         (nrOfParagraphs): simplify for ParagraphList
7936         (checkPastePossible): simplify for ParagraphList
7937         (checkPastePossible): remove unused arg
7938
7939         * ParagraphList.C (insert): handle the case where there are no
7940         paragraphs yet.
7941
7942         * CutAndPaste.h: make CutAndPaste a namespace.
7943
7944         * text3.C (dispatch): adjust
7945
7946         * text.C (breakParagraph): add a ParagraphList as arg
7947
7948         * paragraph_funcs.C (breakParagraph): change to take a
7949         BufferParams and a ParagraphList as args.
7950         (breakParagraphConservative): ditto
7951         (mergeParagraph): ditto
7952         (TeXDeeper): add a ParagraphList arg
7953         (TeXEnvironment): ditto
7954         (TeXOnePar): ditto
7955
7956         * buffer.C (readLyXformat2): adjust
7957         (insertStringAsLines): adjust
7958         (latexParagraphs): adjust
7959
7960         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7961         (cutSelection): adjust
7962         (pasteSelection): adjust
7963
7964         * BufferView_pimpl.C (insertInset): adjust
7965
7966 2003-03-05  Angus Leeming  <leeming@lyx.org>
7967
7968         * commandtags.h:
7969         * LyXAction.C (init):
7970         * BufferView_pimpl.C (dispatch):
7971         * lyxfunc.C (getStatus):
7972         remove LFUN_CHILD_INSERT.
7973
7974         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7975
7976 2003-03-05  Angus Leeming  <leeming@lyx.org>
7977
7978         * commandtags.h:
7979         * LyXAction.C (init):
7980         * src/factory.C (createInset):
7981         * lyxfunc.C (getStatus):
7982         * text3.C (dispatch):
7983         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7984
7985         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7986
7987 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * ParagraphList.C (insert): handle insert right before end()
7990         (erase): fix cases where it can be first or last paragraph.
7991
7992 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7995         Paragraph::next and Paragraph::previous
7996         (TeXOnePar): ditto
7997
7998         * text.C (breakParagraph): adjust
7999
8000         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8001         BufferParams& as arg.
8002         (breakParagraph): use ParagraphList::insert
8003         (breakParagraphConservative): take a Buffer* instead of a
8004         BufferParams& as arg.
8005         (breakParagraphConservative): use ParagraphList::insert.
8006
8007         * buffer.C (insertStringAsLines): un-const it
8008         (insertStringAsLines): adjust
8009
8010         * ParagraphList.C (insert): new function
8011
8012         * CutAndPaste.C (pasteSelection): adjust
8013
8014         * text.C (backspace): adjust
8015
8016         * tabular.C (SetMultiColumn): adjust
8017
8018         * CutAndPaste.C (cutSelection): adjust
8019         (pasteSelection): adjust
8020
8021         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8022         Buffer const * as arg
8023
8024         * ParagraphList.C (erase): new function
8025         * paragraph_funcs.C (mergeParagraph): use it
8026         (mergeParagraph): make it take a Buffer* instead of a
8027         BufferParams* as arg
8028
8029         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8030         as arg
8031         (breakParagraphConservative): ditto
8032
8033         * paragraph.h: remove the breakParagraph friend
8034
8035         * paragraph.C (eraseIntern): new function
8036         (setChange): new function
8037
8038         * paragraph_funcs.C (mergeParagraph): make it take a
8039         ParagraphList::iterator instead of a Paragraph *, adjust
8040         accordingly.
8041
8042         * paragraph.h: move an #endif so that the change tracking stuff
8043         also works in the NO_NEXT case.
8044
8045 2003-03-04  Angus Leeming  <leeming@lyx.org>
8046
8047         * commandtags.h:
8048         * LyXAction.C: new LFUN_INSET_MODIFY.
8049
8050         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8051         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8052
8053 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8054
8055         * several files: ws changes only
8056
8057         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8058         (TeXEnvironment): ditto
8059         (TeXDeeper): ditto
8060
8061         * buffer.C (makeLaTeXFile): adjust
8062         (latexParagraphs): make it take ParagraphList::iterator as args
8063
8064 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8065
8066         * buffer.C (latexParagraphs): adjust
8067
8068         * paragraph.C (TeXOnePar): move function...
8069         (optArgInset): move function...
8070         (TeXEnvironment): move function...
8071         * paragraph_pimpl.C (TeXDeeper): move function...
8072         * paragraph_funcs.C: ...here
8073
8074         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8075
8076 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8077
8078         * buffer.C (readInset): remove compability code for old Figure and
8079         InsetInfo insets
8080
8081 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8082
8083         * buffer.C: ws changes
8084         (readInset):
8085
8086         * BufferView_pimpl.C: ditto
8087         * author.C: ditto
8088         * buffer.h: ditto
8089         * bufferlist.h: ditto
8090         * changes.h: ditto
8091         * lyxfunc.C: ditto
8092
8093 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8094
8095         * converter.[Ch]: split into itself +
8096         * graph.[Ch]
8097         * format.[Ch]
8098         * Makefile.am: += graph.[Ch] + format.[Ch]
8099         * MenuBackend.C
8100         * buffer.C
8101         * exporter.C
8102         * importer.C
8103         * lyx_main.C
8104         * lyxfunc.C
8105         * lyxrc.C: added #include "format.h"
8106
8107 2003-02-27  Angus Leeming  <leeming@lyx.org>
8108
8109         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8110           a label.
8111
8112         * factory.C (createInset): add "label" to the factory.
8113
8114         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8115           string and do no more.
8116
8117 2003-02-27  Angus Leeming  <leeming@lyx.org>
8118
8119         * commandtags.h:
8120         * LyXAction.C (init):
8121         * factory.C (createInset):
8122         * BufferView_pimpl.C (dispatch):
8123           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8124
8125         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8126
8127         * lyxfunc.C (dispatch):
8128         * text3.C (dispatch): pass name to params2string.
8129
8130 2003-02-26  Angus Leeming  <leeming@lyx.org>
8131
8132         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8133           blocks together.
8134           Rearrange the ~includes. Strip out the unnecessary ones.
8135
8136         * factory.C (createInset): reformat.
8137           create new insets for the various LFUN_XYZ_APPLY lfuns.
8138
8139 2003-02-26  John Levon  <levon@movementarian.org>
8140
8141         * lyxrow.h:
8142         * lyxrow.C: add isParStart,isParEnd helpers
8143
8144         * paragraph.h: make isInserted/DeletedText take refs
8145
8146         * paragraph_funcs.h:
8147         * paragraph_funcs.C: remove #if 0'd code
8148
8149         * lyxtext.h:
8150         * text3.C:
8151         * text2.C:
8152         * text.C: use lyxrow helpers above.
8153           Move draw and paint routines to RowPainter.
8154           Make several methods use refs not pointers.
8155           Make backgroundColor() const.
8156           Add markChangeInDraw(), isInInset().
8157           Merge changeRegionCase into changeCase.
8158           Make workWidth() shouldn't-happen code into an Assert.
8159
8160         * rowpainter.h:
8161         * rowpainter.C: new class for painting a row.
8162
8163         * vspace.h:
8164         * vspace.C: make inPixels take a ref
8165
8166 2003-02-26  Angus Leeming  <leeming@lyx.org>
8167
8168         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8169         LFUN_REF_APPLY.
8170
8171 2003-02-25  John Levon  <levon@movementarian.org>
8172
8173         * ispell.C: give the forked command a more accurate name
8174
8175 2003-02-22  John Levon  <levon@movementarian.org>
8176
8177         * toc.h:
8178         * toc.C: make TocItem store an id not a Paragraph *
8179           (bug #913)
8180
8181 2003-02-21  Angus Leeming  <leeming@lyx.org>
8182
8183         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8184           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8185           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8186           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8187           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8188           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8189
8190         * BufferView_pimpl.C (dispatch):
8191         * LyXAction.C (init):
8192         * factory.C (createInset):
8193         * lyxfunc.C (getStatus, dispatch):
8194         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8195
8196 2003-02-21  Angus Leeming  <leeming@lyx.org>
8197
8198         * BufferView_pimpl.C (MenuInsertLyXFile):
8199         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8200         * lyxfunc.C (menuNew, open, doImport):
8201           no longer pass a LyXView & to fileDlg.
8202
8203 2003-02-21  Angus Leeming  <leeming@lyx.org>
8204
8205         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8206         * LyXAction.C: change, BIBKEY to BIBITEM.
8207         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8208         Change InsetBibKey to InsetBibitem.
8209         Change BIBKEY_CODE to BIBITEM_CODE.
8210         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8211         * factory.C: replace insetbib.h with insetbibitem.h.
8212         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8213         * paragraph.C: replace insetbib.h with insetbibitem.h.
8214         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8215         Change bibkey() to bibitem().
8216         * text.C: remove insetbib.h.
8217         * text2.C: replace insetbib.h with insetbibitem.h.
8218         change bibkey() to bibitem().
8219         * text3.C: remove insetbib.h.
8220         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8221
8222 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8223
8224         * lyxrc.C (output): enclose user email in quotes (in case there are
8225         several words)
8226
8227 2003-02-18  John Levon  <levon@movementarian.org>
8228
8229         * buffer.h: add std::
8230
8231 2003-02-17  John Levon  <levon@movementarian.org>
8232
8233         * SpellBase.h:
8234         * ispell.h:
8235         * ispell.C:
8236         * pspell.h:
8237         * pspell.C: reworking. Especially in ispell, a large
8238           number of clean ups and bug fixes.
8239
8240         * lyxfunc.C: fix revert to behave sensibly
8241
8242 2003-02-17 André Pönitz <poenitz@gmx.net>
8243
8244         * LyXAction.C:
8245         * commandtags.h: new LFUN_INSERT_BIBKEY
8246
8247         * layout.h:
8248         * lyxlayout.C:
8249         * buffer.C:
8250         * factory.C:
8251         * text.C:
8252         * text2.C:
8253         * text3.C:
8254         * paragraph.[Ch]:
8255         * paragraph_func.C: remove special bibkey handling
8256
8257 2003-02-17  John Levon  <levon@movementarian.org>
8258
8259         * text.C (Delete): fix case where delete at the end of
8260           the very first paragraph would not merge the pars
8261
8262 2003-02-17  John Levon  <levon@movementarian.org>
8263
8264         * lyxrow.C: fix lastPrintablePos()
8265
8266 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8267
8268         * bufferparams.C (writeLaTeX): add a std:here
8269
8270         * buffer.C: and remove a using directive there
8271
8272 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8273
8274         * buffer.C (makeLaTeXFile): move the code that generates the
8275           preamble...
8276
8277         * bufferparams.C (writeLaTeX): ... in this new method
8278
8279         * LaTeXFeatures.C (getEncodingSet): make const
8280           (getLanguages): make const
8281
8282         * MenuBackend.C (binding): returns the binding associated to this
8283           action
8284           (add): sets the status of each item by calling getStatus. Adds
8285           some intelligence.
8286           (read): add support for OptSubMenu
8287           (expand): remove extra separator at the end of expanded menu
8288
8289 2003-02-15  John Levon  <levon@movementarian.org>
8290
8291         * BufferView.C:
8292         * BufferView_pimpl.C:
8293         * bufferlist.h:
8294         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8295           inset code that had no actual effect. Remove unneeded status
8296           code.
8297
8298 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8299
8300         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8301           in preamble
8302
8303 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8304
8305         * text.C (drawLengthMarker): also draw an arrow marker for
8306           symbolic lengths (medskip...)
8307
8308 2003-02-14  John Levon  <levon@movementarian.org>
8309
8310         * tabular.h:
8311         * tabular.C: better method names
8312
8313 2003-02-14  John Levon  <levon@movementarian.org>
8314
8315         * BufferView_pimpl.C:
8316         * bufferlist.C:
8317         * buffer.C:
8318         * converter.C:
8319         * lyx_cb.C:
8320         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8321           it's a more accurate name. Remove some pointless uses.
8322
8323 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8324
8325         * text2.C (LyXText): change order of initilizers to shut off
8326           warnings
8327
8328 2003-02-14  John Levon  <levon@movementarian.org>
8329
8330         * buffer.C: use ParIterator for getParFromID()
8331
8332         * paragraph.h:
8333         * paragraph.C:
8334         * paragraph_pimpl.h:
8335         * paragraph_pimpl.C: remove unused getParFromID()
8336
8337 2003-02-14  John Levon  <levon@movementarian.org>
8338
8339         * buffer.C: remove some very old #if 0'd parse code
8340
8341 2003-02-13  John Levon  <levon@movementarian.org>
8342
8343         * text.h:
8344         * text.C:
8345         * text2.C: move hfillExpansion(), numberOfSeparators(),
8346           rowLast(), rowLastPrintable(), numberofHfills(),
8347           numberOfLabelHfills() ...
8348
8349         * lyxrow.h:
8350         * lyxrow.C: ... to member functions here.
8351
8352         * paragraph.h:
8353         * paragraph.C:
8354         * lyxtext.h:
8355         * text.C: remove LyXText::beginningOfMainBody(), and call
8356           p->beginningOfMainBody() directly. Move the check for
8357           LABEL_MANUAL into the latter.
8358
8359         * text.h:
8360         * text.C:
8361         * text2.C:
8362         * vspace.C:
8363         * BufferView.h:
8364         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8365
8366         * text.h:
8367         * text.C:
8368         * text2.C:
8369         * text3.C:
8370         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8371           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8372
8373 2003-02-13  John Levon  <levon@movementarian.org>
8374
8375         * CutAndPaste.C: remove debug
8376
8377 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8378
8379         * paragraph.C (asString): remove two unused variables
8380
8381         * lyxtextclass.C (readTitleType):
8382           (Read):
8383           (LyXTextClass): handle new members titletype_ and titlename_
8384
8385         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8386
8387 2003-02-09  John Levon  <levon@movementarian.org>
8388
8389         * buffer.h:
8390         * buffer.C: replace hand-coded list with a map for the dep clean
8391
8392 2003-02-08  John Levon  <levon@movementarian.org>
8393
8394         * LaTeX.C: consolidate code into showRunMessage() helper
8395
8396 2003-02-08  John Levon  <levon@movementarian.org>
8397
8398         * lyxfind.C:
8399         * lyxtext.h:
8400         * text2.C:
8401         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8402           and pass the size in explicitly
8403
8404         * BufferView_pimpl.h:
8405         * BufferView_pimpl.C:
8406         * BufferView.h:
8407         * BufferView.C: add getCurrentChange()
8408
8409         * BufferView_pimpl.h:
8410         * BufferView_pimpl.C: handle change lfuns
8411
8412         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8413           for changes. Mark pasted paragraphs as new.
8414
8415         * support/lyxtime.h:
8416         * support/lyxtime.C:
8417         * DepTable.C: abstract time_t as lyx::time_type
8418
8419         * LColor.h:
8420         * LColor.C: add colours for new text, deleted text, changebars
8421
8422         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8423           package use "usenames" option.
8424
8425         * commandtags.h:
8426         * lyxfunc.C:
8427         * LyXAction.C: add change lfuns
8428
8429         * Makefile.am:
8430         * author.h:
8431         * author.C: author handling
8432
8433         * buffer.h:
8434         * buffer.C: add a per-buffer author list, with first entry as
8435           current author. Handle new .lyx tokens for change tracking. Output
8436           author list to .lyx file. Output dvipost stuff to .tex preamble.
8437           Bump lyx format to 222.
8438
8439         * bufferlist.h:
8440         * bufferlist.C: add setCurrentAuthor() to reset current author details
8441           in all buffers.
8442
8443         * bufferparams.h:
8444         * bufferparams.C: add param for tracking
8445
8446         * bufferview_funcs.C: output change info in minibuffer
8447
8448         * Makefile.am:
8449         * changes.h:
8450         * changes.C: add change-tracking structure
8451
8452         * debug.h:
8453         * debug.C: add CHANGES debug flag
8454
8455         * lyxfind.h:
8456         * lyxfind.C: add code for finding the next change piece
8457
8458         * lyxrc.h:
8459         * lyxrc.C: add user_name and user_email
8460
8461         * lyxrow.h:
8462         * lyxrow.C: add a metric for the top of the text line
8463
8464         * lyxtext.h:
8465         * text.C: implement accept/rejectChange()
8466
8467         * lyxtext.h:
8468         * text.C: paint changebars. Paint new/deleted text in the chosen
8469         colours. Strike through deleted text.
8470
8471         * paragraph.h:
8472         * paragraph.C:
8473         * paragraph_pimpl.h:
8474         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8475           in the current change to the insert functions. Rework erase to
8476           mark text as deleted, adding an eraseIntern() and a range-based
8477           erase(). Implement per-paragraph change lookup and
8478           accept/reject.
8479
8480         * paragraph_funcs.C: Fixup paste for change tracking.
8481
8482         * tabular.C: mark added row/columns as new.
8483
8484         * text.C: fix rowLast() to never return -1. Don't allow
8485           spellchecking of deleted text. Track transpose changes. Don't
8486           allow paragraph break or merge where appropriate.
8487
8488         * text2.C: leave cursor at end of selection after a cut.
8489
8490 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8491
8492         * text.C (getLengthMarkerHeight):
8493         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8494         visible on screen too.
8495
8496 2003-02-07  John Levon  <levon@movementarian.org>
8497
8498         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8499
8500 2003-02-05  Angus Leeming  <leeming@lyx.org>
8501
8502         * lyxserver.C (read_ready): revert my patch of 11 September last year
8503         as it sends PC cpu through the roof. Presumably this means that
8504         the lyxserver will no longer run on an Alpha...
8505
8506 2003-01-30  Angus Leeming  <leeming@lyx.org>
8507
8508         * factory.C (createInset): create an InsetCommandParam of type "index"
8509         and use it to 'do the right thing'.
8510
8511         * text2.C (getStringToIndex): ensure that cursor position is always
8512         reset to the reset_cursor position.
8513
8514 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8515
8516         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8517         disabled.
8518
8519 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8520
8521         * bufferview.C:
8522         * lyxcb.C:
8523         * lyxfunc.C: Output messages with identical spelling, punctuation,
8524         and spaces
8525
8526 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8527
8528         * MenuBackend.C (expandFormats): List only viewable export formats
8529         in "View" menu
8530
8531         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8532         message
8533
8534         * lyxfunc.C (getStatus): Make sure that formats other than
8535         "fax" can also be disabled
8536
8537 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8538
8539         * text3.C (dispatch): put the lfuns that insert insets in 3
8540         groups, and call doInsertInset with appropriate arguments.
8541         (doInsertInset): new function, that creates an inset and inserts
8542         it according to some boolean parameters.
8543
8544 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8545
8546         * buffer.C (readFile): remember to pass on 'par' when calling
8547         readFile recursively.
8548
8549 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8550
8551         * MenuBackend.C (expandFormats): add "..." to import formats.
8552
8553 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8554
8555         * paragraph.C (asString): Remove XForms RTL hacks.
8556
8557 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8558         * buffer.C: fix typo
8559
8560 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * Makefile.am (LIBS): delete var
8563         (lyx_LDADD): add @LIBS@ here instead.
8564
8565 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8566
8567         * Clarify the meaning of "wheel mouse jump"
8568
8569 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8570
8571         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8572         tabular in a float
8573
8574 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8575
8576         * importer.C (Loaders): do not preallocate 3 elements in the
8577         vector, since one ends up with 6 elements otherwise
8578
8579 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8580
8581         * DepTable.C (write): write the file name as last element of the
8582         .dep file (because it may contain spaces)
8583         (read): read info in the right order
8584
8585 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8586
8587         * paragraph_pimpl.C (simpleTeXBlanks):
8588         (simpleTeXSpecialChars):
8589         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8590
8591         * tabular.C (latex): add some missing case statements. Reindent.
8592
8593         * MenuBackend.C (expandToc): remove unused variable.
8594
8595 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8596
8597         * LColor.C:
8598         * LaTeX.C:
8599         * LyXAction.C:
8600         * MenuBackend.C:
8601         * buffer.C:
8602         * exporter.C:
8603         * lyxfunc.C:
8604         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8605         and the like.
8606
8607 2003-01-05  John Levon  <levon@movementarian.org>
8608
8609         * BufferView.h:
8610         * BufferView.C: add getEncoding()
8611
8612         * kbsequence.h:
8613         * kbsequence.C: do not store last keypress
8614
8615         * lyxfunc.h:
8616         * lyxfunc.C: store last keypress here instead. Pass encoding
8617           to getISOEncoded()
8618
8619 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8620
8621         * lyx_main.C (init): remove annoying error message when following
8622         symbolic links (bug #780)
8623
8624 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8625
8626         * text.C (insertChar):
8627         * lyxrc.C (getDescription): remove extra spaces
8628
8629 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8630
8631         * lyxrc.C (getDescription): remove extra spaces
8632
8633 2002-12-20  John Levon  <levon@movementarian.org>
8634
8635         * text3.C: hack fix for page up/down across tall rows
8636
8637 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8638
8639         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8640         not been invoked
8641
8642 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8643
8644         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8645         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8646         thesaurus is not compiled in
8647
8648 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8649
8650         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8651
8652 2002-12-16  Angus Leeming  <leeming@lyx.org>
8653
8654         * lyxrc.[Ch]:
8655         * lyx_main.C (init): remove override_x_deadkeys stuff.
8656
8657 2002-12-12  John Levon  <levon@movementarian.org>
8658
8659         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8660           insert. Only remove shift modifier under strict
8661           circumstances.
8662
8663 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * MenuBackend.C (expandToc): fix crash.
8666
8667 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8668
8669         * MenuBackend.C (expandToc): gettext on float names.
8670
8671 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8672
8673         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8674         implement bool empty() [bug 490]
8675
8676 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8677
8678         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8679
8680 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * several files: ws changes
8683
8684 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8685
8686         * text2.C (setCounter): clean up a bit, use boost.format.
8687         (updateCounters): initialize par upon declaration.
8688
8689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8690         if the layout exists. We do not just store the layout any more.
8691         (SwitchLayoutsBetweenClasses): use boost.format
8692
8693 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8694
8695         * converter.C (convert): if from and to files are the same, use a
8696         temporary files as intermediary
8697
8698 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8699
8700         * commandtags.h:
8701         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8702
8703 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8704
8705         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8706
8707 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8708
8709         * tabular.C (asciiPrintCell): use string(size, char) instead of
8710         explicit loop.
8711
8712         * sgml.C (openTag): fix order of arguments to string constructor
8713         (closeTag): ditto
8714
8715         * lyxfunc.C (dispatch): use boost.format
8716
8717         * lots of files: change "c" -> 'c'
8718
8719 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8720
8721         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8722
8723 2002-11-25  Angus Leeming  <leeming@lyx.org>
8724
8725         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8726
8727         * lyx_main.C (init): compile fix.
8728
8729 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8730
8731         * lyx_cb.C (start): boost.formatify
8732         do not include <iostream>
8733
8734         * lengthcommon.C: ws only
8735
8736         * boost-inst.C,BoostFormat.h: add more explict instantations
8737
8738 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8739
8740         * lots of files: handle USE_BOOST_FORMAT
8741
8742 2002-11-21  John Levon  <levon@movementarian.org>
8743
8744         * pspell.C: fix compile
8745
8746 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8747
8748         * lyxfunc.C (dispatch): use boost::format
8749         (open): ditto
8750         (doImport): ditto
8751
8752         * lyxfont.C (stateText): use boost::format
8753
8754         * lyx_main.C (LyX): use boost::format
8755         (init): ditto
8756         (queryUserLyXDir): ditto
8757         (readRcFile): ditto
8758         (parse_dbg): ditto
8759         (typedef boost::function): use the recommened syntax.
8760
8761         * importer.C (Import): use boost::format
8762
8763         * debug.C (showLevel): use boost::format
8764
8765         * converter.C (view): use boost::format
8766         (convert): ditto
8767         (move): ditto
8768         (scanLog): ditto
8769
8770         * bufferview_funcs.C (currentState): use boost::format
8771
8772         * bufferlist.C (emergencyWrite): use boost::format
8773
8774         * buffer.C (readLyXformat2): use boost::format
8775         (parseSingleLyXformat2Token): ditto
8776
8777         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8778
8779         * LaTeX.C (run): use boost::format
8780
8781         * Chktex.C (scanLogFile): use boost::format
8782
8783         * BufferView_pimpl.C (savePosition): use boost::format
8784         (restorePosition): ditto
8785         (MenuInsertLyXFile): ditto
8786
8787         * BoostFormat.h: help file for explicit instation.
8788
8789 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8790
8791         * tabular.C (latex): Support for block alignment in fixed width
8792         columns.
8793
8794 2002-11-17  John Levon  <levon@movementarian.org>
8795
8796         * BufferView_pimpl.C:
8797         * lyx_cb.C:
8798         * lyxfunc.C: split filedialog into open/save
8799
8800 2002-11-08  Juergen Vigna  <jug@sad.it>
8801
8802         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8803         by my last patch (hopefully).
8804
8805 2002-11-08  John Levon  <levon@movementarian.org>
8806
8807         * iterators.h:
8808         * iterators.C:
8809         * buffer.h:
8810         * buffer.C:
8811         * paragraph.h:
8812         * paragraph.C:
8813         * toc.h:
8814         * toc.C: ParConstIterator, and use it (from Lars)
8815
8816 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8817
8818         * lyxtextclass.[Ch]: revise and add doxygen comments
8819
8820 2002-11-07  John Levon  <levon@movementarian.org>
8821
8822         * text.C: fix progress value for spellchecker
8823
8824         * toc.C: fix navigate menu for insetwrap inside minipage
8825
8826         * paragraph_funcs.C: added FIXME for suspect code
8827
8828 2002-11-07  John Levon  <levon@movementarian.org>
8829
8830         * BufferView_pimpl.C: fix redrawing of insets
8831           on buffer switch
8832
8833 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8834
8835         * text2.C (updateCounters): fix bug 668
8836
8837 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8838
8839         * text3.C (dispatch): Do not make the buffer dirty when moving the
8840         cursor.
8841
8842 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8843
8844         * vc-backend.C: STRCONV
8845         (scanMaster): ditto
8846
8847         * text2.C (setCounter): STRCONV
8848
8849         * paragraph.C (asString): STRCONV
8850
8851         * lyxlength.C (asString): STRCONV
8852         (asLatexString): ditto
8853
8854         * lyxgluelength.C (asString): STRCONV
8855         (asLatexString): ditto
8856
8857         * lyxfunc.C (dispatch): STRCONV
8858         (open): ditto
8859
8860         * lyxfont.C (stateText): STRCONV
8861
8862         * importer.C (Import): STRCONV
8863
8864         * counters.C (labelItem): STRCONV
8865         (numberLabel): ditto
8866         (numberLabel): remove unused ostringstream o
8867
8868         * chset.C: STRCONV
8869         (loadFile): ditto
8870
8871         * bufferview_funcs.C (currentState): STRCONV
8872
8873         * buffer.C (readFile): STRCONV
8874         (asciiParagraph): ditto
8875         (makeLaTeXFile): ditto
8876
8877         * Spacing.C (writeEnvirBegin): STRCONV
8878
8879         * LaTeXFeatures.C (getLanguages): STRCONV
8880         (getPackages): ditto
8881         (getMacros): ditto
8882         (getBabelOptions): ditto
8883         (getTClassPreamble): ditto
8884         (getLyXSGMLEntities): ditto
8885         (getIncludedFiles): ditto
8886
8887         * LaTeX.C: STRCONV
8888         (run): ditto
8889         (scanAuxFile): ditto
8890         (deplog): ditto
8891
8892         * LString.h: add the STRCONV macros
8893
8894         * BufferView_pimpl.C (savePosition): STRCONV
8895         (restorePosition): ditto
8896         (MenuInsertLyXFile): ditto
8897
8898         * vc-backend.C (scanMaster): change from submatch[...] to
8899         submatch.str(...)
8900
8901         * funcrequest.C: include config.h
8902
8903         * factory.C: include config.h
8904
8905         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8906
8907         * box.C: include config.h
8908
8909         * LaTeX.C (scanAuxFile): change from submatch[...] to
8910         submatch.str(...)
8911         (deplog): ditto
8912
8913 2002-10-25  Angus Leeming  <leeming@lyx.org>
8914
8915         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8916
8917         * ispell.[Ch] (setError): new method.
8918         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8919         Use setError() insetead of goto END.
8920
8921         * lyx_cb.C (AutoSave): move out child process into new class
8922         AutoSaveBuffer.
8923
8924 2002-10-30  John Levon  <levon@movementarian.org>
8925
8926         * text3.C: make start appendix undoable
8927
8928 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8929
8930         * lyxlength.C (inPixels): Fix returned value.
8931
8932         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8933         environment.
8934
8935 2002-10-24  Angus Leeming  <leeming@lyx.org>
8936
8937         * lyxgluelength.h: no need to forward declare BufferParams
8938         or BufferView, so don't.
8939
8940 2002-10-21  John Levon  <levon@movementarian.org>
8941
8942         * BufferView.C: menuUndo ->undo, redo
8943
8944         * BufferView.h: document, remove dead, make some methods private
8945
8946         * paragraph_funcs.h:
8947         * paragraph_funcs.C:
8948         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8949
8950         * buffer.h:
8951         * buffer.C:
8952         * sgml.h:
8953         * sgml.C: move sgml open/close tag into sgml.C
8954
8955         * bufferview_funcs.h: unused prototype
8956
8957         * lyxfunc.h:
8958         * lyxfunc.C: remove unused
8959
8960         * lyxtext.h:
8961         * text.C: remove unused
8962
8963 2002-10-21  John Levon  <levon@movementarian.org>
8964
8965         * BufferView.h:
8966         * BufferView.C:
8967         * BufferView_pimpl.h:
8968         * BufferView_pimpl.C: fix mouse wheel handling based on
8969           patch from Darren Freeman
8970
8971 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8972
8973         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8974
8975 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8976
8977         * lyxlength.C (inPixels): Fix hanfling of negative length.
8978         Fix LyXLength::MU case.
8979
8980 2002-10-16  John Levon  <levon@movementarian.org>
8981
8982         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8983
8984 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8985
8986         * converter.C (view): add support for $$i (file name) and $$p
8987         (file path) for the viewer command. If $$i is not specified, then
8988         it is appended to the command (for compatibility with old syntax)
8989
8990 2002-10-14  Juergen Vigna  <jug@sad.it>
8991
8992         * undo_funcs.C (textHandleUndo): alter the order in which the
8993         new undopar is added to the LyXText, as we have to set first
8994         the right prev/next and then add it as otherwise the rebuild of
8995         LyXText is not correct. Also reset the cursor to the right paragraph,
8996         with this IMO we could remove the hack in "redoParagraphs()".
8997
8998 2002-10-09  Angus Leeming  <leeming@lyx.org>
8999
9000         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9001         to turn off an optimisation if a new inset is to be inserted.
9002
9003 2002-10-11 André Pönitz <poenitz@gmx.net>
9004
9005         * lyxtext.h: make some functions public to allow access
9006         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9007
9008 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9009
9010         * text3.C (dispatch): when changing layout, avoid an infinite loop
9011         [bug #652]
9012
9013 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9014
9015         * lyxrc.C (read): treat a viewer or converter command of "none" as
9016         if it were empty.
9017
9018         * MenuBackend.C (expandFormats): for an update, also allow the
9019         formats that are not viewable
9020
9021         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9022         script if it is newer than the lyxrc.defaults in user directory
9023
9024 2002-10-07 André Pönitz <poenitz@gmx.net>
9025
9026         * text.C: Vitaly Lipatov's small i18n fix
9027
9028 2002-09-25  Angus Leeming  <leeming@lyx.org>
9029
9030         * ispell.h: doxygen fix.
9031
9032 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9033
9034         * buffer.h (readFile): Add a new argument to the method, to allow
9035         reading of old-format templates.
9036
9037 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9038
9039         * toc.C (getTocList): Get TOC from InsetWrap.
9040
9041 2002-09-16  John Levon  <levon@movementarian.org>
9042
9043         * lyxfunc.C: check tabular for cut/copy too
9044
9045 2002-09-12  John Levon  <levon@movementarian.org>
9046
9047         * LyXAction.C: tidy
9048
9049         * factory.h:
9050         * factory.C: add header
9051
9052         * paragraph_funcs.h:
9053         * paragraph_funcs.C: cleanup
9054
9055 2002-09-11  John Levon  <levon@movementarian.org>
9056
9057         * PrinterParams.h: odd/even default to true
9058
9059 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9060
9061         * PrinterParams.h: update printer parameters for new xforms dialog
9062
9063 2002-09-11  Angus Leeming  <leeming@lyx.org>
9064
9065         * lyxserver.C (read_ready): re-write to make it more transparent
9066         and to make it work in coherent fashion under Tru64 Unix.
9067
9068 2002-09-11  André Pönitz <poenitz@gmx.net>
9069
9070         * commandtags.h:
9071         * LyXAction.C:
9072         * text3.C: implement LFUN_WORDSEL
9073
9074 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9075
9076         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9077         make floatlist_ a boost::shared_ptr<FloatList>
9078
9079         * lyxtextclass.C: include FloatList.h
9080         (LyXTextClass): initialize floatlist_
9081         (TextClassTags): add TC_NOFLOAT
9082         (Read): match "nofloat" to TC_NOFLOAT and use it.
9083         (readFloat): modify call to floatlist_
9084         (floats): ditto
9085         (floats): ditto
9086
9087         * FloatList.[Ch] (FloatList): remove commented out float
9088         initialization.
9089         (erase): new function
9090
9091 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9092
9093         * MenuBackend.C (expandToc): fix crash when there is no document
9094         open
9095
9096 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9097
9098         * many files: Add insetwrap.
9099
9100 2002-09-09  John Levon  <levon@movementarian.org>
9101
9102         * text2.C: remove confusing and awkward depth wraparound
9103
9104 2002-09-09  John Levon  <levon@movementarian.org>
9105
9106         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9107
9108         * buffer.h:
9109         * buffer.C: remove getIncludeonlyList()
9110
9111         * paragraph.C:
9112         * lyxfunc.C: remove headers
9113
9114 2002-09-09  Juergen Vigna  <jug@sad.it>
9115
9116         * text.C (getColumnNearX): fix form Michael this is most
9117         probably a cut&paste bug.
9118
9119 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9120
9121         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9122
9123         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9124         references, ws changes.
9125
9126         * text2.C (init): update counters after init
9127         (insertParagraph): no need to set counter on idividual paragraphs.
9128         (setCounter): access the counters object in the textclass object
9129         on in the buffer object.
9130         (updateCounters): ditto
9131
9132         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9133         shared_ptr<Counters> to avoid loading counters.h in all
9134         compilation units.
9135         (LyXTextClass): initialize ctrs_
9136         (TextClassTags): add TC_COUNTER, and ...
9137         (Read): use it here.
9138         (CounterTags): new tags
9139         (readCounter): new function
9140         (counters): new funtion
9141         (defaultLayoutName): return a const reference
9142
9143         * counters.C (Counters): remove contructor
9144         (newCounter): remove a couple of unneeded statements.
9145         (newCounter): simplify a bit.
9146         (numberLabel): some small formatting changes.
9147
9148         * buffer.[Ch]: remove all traces of counters, move the Counters
9149         object to the LyXTextClass.
9150
9151 2002-09-06  Alain Castera  <castera@in2p3.fr>
9152
9153         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9154         package to set the horizontal alignment on fixed width columns.
9155
9156         * lyx_sty.C:
9157         * lyx_sty.h: added tabularnewline macro def.
9158
9159         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9160
9161 2002-09-06  John Levon  <levon@movementarian.org>
9162
9163         * LyXAction.C: tooltips for sub/superscript
9164
9165         * MenuBackend.C: a bit more verbose
9166
9167         * lyxfunc.C: tiny clean
9168
9169         * undo_funcs.C: document undo_frozen
9170
9171 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9172
9173         * counters.C (Counters): add missing algorithm counter.
9174
9175         * text2.C (setCounter): lookup the counter with layouts latexname
9176         instead of by section number.
9177         (setCounter): use a hackish way to lookup the correct enum
9178         counter.
9179         a float name->type change
9180         reset enum couners with counter name directly instead of depth value.
9181
9182         * counters.C (Counters): remove the push_backs, change to use the
9183         float type not the float name.
9184         (labelItem): remove unused string, float name->type change
9185
9186         * counters.h: don't include vector, loose the enums and sects vectors
9187
9188 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9191         (Read): add float->TC_FLOAT to textclassTags
9192         (Read): and handle it in the switch
9193         (readFloat): new function
9194
9195         * FloatList.C (FloatList): comment out the hardcoded float
9196         definitions.
9197
9198         * lyxlayout.h: ws change.
9199
9200 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9201
9202         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9203
9204 2002-09-03  Angus Leeming  <leeming@lyx.org>
9205
9206         * BufferView_pimpl.h: qualified name is not allowed in member
9207         declaration: WorkArea & Pimpl::workarea() const;
9208
9209         * factory.C: added using std::endl directive.
9210
9211         * text3.C: added using std::find and std::vector directives.
9212
9213 2002-08-29  André Pönitz <poenitz@gmx.net>
9214
9215         * lyxtext.h:
9216         * text2.C: remove unused member number_of_rows
9217
9218         * Makefile.am:
9219         * BufferView2.C: remove file, move contents to...
9220         * BufferView.C: ... here
9221
9222         * BufferView_pimpl.C:
9223         * factory.C: move more inset creation to factory
9224
9225         * vspace.C: avoid direct usage of LyXText, ws changes
9226
9227         * BufferView.[Ch]:
9228                 don't provide direct access to WorkArea, use two simple
9229                 acessors haveSelction() and workHeight() instead
9230
9231
9232 2002-08-29  John Levon  <levon@movementarian.org>
9233
9234         * BufferView_pimpl.C (dispatch): do not continue when
9235           no buffer
9236
9237 2002-08-28  André Pönitz <poenitz@gmx.net>
9238
9239         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9240
9241         * BufferView.h:
9242         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9243
9244 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9245
9246         * buffer.C: increment LYX_FORMAT to 221
9247
9248         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9249         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9250
9251         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9252
9253         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9254
9255 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9256
9257         * factory.C (createInset): use LyXTextClass::floats
9258
9259         * MenuBackend.C (expandFloatListInsert):
9260         (expandFloatInsert):
9261         (expandToc):
9262
9263         * text2.C (setCounter):
9264
9265         * LaTeXFeatures.C (useFloat):
9266         (getFloatDefinitions):
9267
9268         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9269
9270         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9271         floatlist_, with accessor floats().
9272
9273         * FloatList.h: remove global FloatList
9274
9275 2002-08-26  André Pönitz <poenitz@gmx.net>
9276
9277         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9278
9279         * BufferView.h:
9280         * BufferView2.C:
9281         * BufferView_pimpl.C:
9282         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9283
9284 2002-08-25  John Levon  <levon@movementarian.org>
9285
9286         * LyXAction.C: fix margin note description
9287
9288 2002-08-24  John Levon  <levon@movementarian.org>
9289
9290         * buffer.C:
9291         * bufferlist.C:
9292         * bufferview_funcs.C:
9293         * lyxfont.C:
9294         * undo_funcs.C: cleanups
9295
9296         * lyxfunc.C: disable CUT/COPY when no selection
9297
9298 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9299
9300         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9301         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9302
9303         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9304         Add backward compatibility to "mono", "gray" and "no".
9305
9306 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9307
9308         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9309         (and file_format >= 200).
9310
9311 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9312
9313         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9314
9315 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9316
9317         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9318
9319 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9320
9321         * BufferView_pimpl.C:
9322         * LyXAction.C:
9323         * buffer.C:
9324         * commandtags.h:
9325         * lyxfunc.C:
9326         * paragraph.[Ch]:
9327         * text2.C:
9328         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9329         inset and code to make it  work with the paragraph code. The inset
9330         can be anywhere in the paragraph, but will only do the expected
9331         thing in LaTeX if the layout file contains the parameter line
9332                         OptionalArgs    1
9333         (or more generally, a nonzero value) for that layout.
9334
9335 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9336
9337         * paragraph.h: remove the declaration of undefined counters class
9338         function.
9339
9340 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9341
9342         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9343         Dr. Richard Hawkins.
9344
9345 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9346
9347         * paragraph_funcs.h: remove some unneeded includes
9348
9349         * text.C (backspace): pasteParagraph now in global scipe
9350
9351         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9352         (pasteSelection): ditto
9353
9354         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9355         * paragraph_funcs.C (pasteParagraph): ... here
9356
9357 2002-08-20  André Pönitz <poenitz@gmx.net>
9358
9359         * commandtags.h: new LFUNs for swapping/copying table row/colums
9360
9361         * LyXAction.C:
9362         * lyxfunc.C: support for new lfuns
9363
9364 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9365
9366         * tabular.C:
9367         * buffer.[Ch]: remove NO_COMPABILITY stuff
9368
9369 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9370
9371         * boost.C (throw_exception): new file, with helper function for
9372         boost compiled without exceptions.
9373
9374         * paragraph.h:
9375         * lyxlength.C:
9376         * buffer.C:
9377         * ParameterStruct.h:
9378         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9379
9380         * bufferlist.C (emergencyWriteAll): use boost bind
9381
9382         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9383
9384         * text.C: include paragraph_funcs.h
9385         (breakParagraph): breakParagraph is now in global scope
9386
9387         * paragraph_funcs.[Ch]: new files
9388
9389         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9390         global scope
9391
9392         * buffer.C: include paragraph_funcs.h
9393         (insertStringAsLines): breakParagraph is now in global scope
9394
9395         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9396         paragraph_funcs.C
9397
9398         * CutAndPaste.C: include paragraph_funcs.h
9399         (cutSelection): breakParagraphConservative is now in global scope
9400         (pasteSelection): ditto
9401
9402         * buffer.h: declare oprator== and operator!= for
9403         Buffer::inset_iterator
9404
9405         * bufferlist.C (emergencyWrite): don't use fmt(...)
9406
9407         * text3.C: add using std::endl
9408
9409         * BufferView.C (moveCursorUpdate): remove default arg
9410
9411 2002-08-20  André Pönitz <poenitz@gmx.net>
9412
9413         * buffer.[Ch]: move inline functions to .C
9414
9415         * BufferView2.C:
9416         * BufferView_pimpl.C:
9417         * text.C:
9418         * buffer.[Ch]: use improved inset_iterator
9419
9420         * buffer.C:
9421         * paragraph.[Ch]: write one paragraph at a time
9422
9423 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9424
9425         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9426         style if style is not specified.
9427
9428 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9429
9430         * text2.C (setCounter): when searching for right label for a
9431         caption, make sure to recurse to parent insets (so that a caption
9432         in a minipage in a figure float works) (bug #568)
9433
9434 2002-08-20  André Pönitz <poenitz@gmx.net>
9435
9436         * text3.C: new file for LyXText::dispatch() and helpers
9437
9438         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9439
9440         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9441
9442 2002-08-19  André Pönitz <poenitz@gmx.net>
9443
9444         * lyxtext.h:
9445         * text.C: new LyXText::dispatch()
9446
9447         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9448
9449 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9450
9451         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9452
9453         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9454         Hebrew text.
9455
9456 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9457
9458         * Makefile.am: use $(variables) instead of @substitutions@
9459
9460 2002-08-15  André Pönitz <poenitz@gmx.net>
9461
9462         * lyxfunc.C:
9463         * BufferView_pimpl.C: streamlining mathed <-> outer world
9464         interaction
9465
9466         * commandtags.h:
9467         * LyXAction.C: remove unused LFUN_MATH
9468
9469 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9470
9471         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9472
9473 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9474
9475         * paragraph.C (Paragraph): reformat a bit
9476         (cutIntoMinibuffer): use builtin InsetList function instad of
9477         doing it manually.
9478         (getInset): ditto
9479
9480         * buffer.C: include boost/bind.hpp, add using std::for_each
9481         (writeFileAscii): use ParagraphList iterators
9482         (validate): use for_each for validate traversal of paragraphs
9483         (getBibkeyList): use ParagraphList iterators
9484         (resizeInsets): use for_each to resizeInsetsLyXText for all
9485         paragraphs.
9486         (getParFromID): use ParagraphList iterators
9487
9488         * BufferView2.C (lockInset): use paragraph list and iterators
9489
9490 2002-08-14  John Levon  <levon@movementarian.org>
9491
9492         * lyxserver.C: remove spurious xforms include
9493
9494 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9495
9496         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9497
9498 2002-08-13  André Pönitz <poenitz@gmx.net>
9499
9500         * LyXAction.[Ch]:
9501         * lyxfunc.C: further cleaning
9502
9503 2002-08-13  André Pönitz <poenitz@gmx.net>
9504
9505         * funcrequest.h: new constructor
9506
9507         * funcrequest.C: move stuff here from .h
9508
9509         * Makefile.am:
9510         * BufferView_pimpl.C:
9511         * LyXAction.C:
9512         * toc.C:
9513         * lyxfunc.C: subsequent changes
9514
9515         * lyxfunc.h: new view() member function
9516
9517         * lyxfunc.C: subsequent changes
9518
9519 2002-08-13  Angus Leeming  <leeming@lyx.org>
9520
9521         * BufferView2.C:
9522         * BufferView_pimpl.C:
9523         * buffer.C:
9524         * converter.C:
9525         * importer.C:
9526         * lyxfunc.C:
9527         * lyxvc.C:
9528         * toc.C:
9529         * vc-backend.C:
9530         changes due to the changed LyXView interface that now returns references
9531         to member variables not pointers.
9532
9533 2002-08-13  Angus Leeming  <leeming@lyx.org>
9534
9535         * WordLangTuple (word, lang_code): return references to strings,
9536         not strings.
9537
9538         * BufferView.h:
9539         * SpellBase.h:
9540         * lyxtext.h: forward-declare WordLangTuple.
9541
9542         * BufferView2.C:
9543         * ispell.C:
9544         * pspell.C:
9545         * text.C: #include "WordLangTuple.h".
9546
9547         * lyxtext.h:
9548         * text.C: (selectNextWordToSpellcheck): constify return type.
9549
9550 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9551
9552         * buffer.C:
9553         * buffer.h:
9554         * lyxtext.h:
9555         * paragraph.C:
9556         * paragraph_pimpl.h:
9557         * text.C:
9558         * text2.C:
9559         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9560         suggested by Angus.
9561         Made updateCounter always count from start of buffer, and removed
9562         second argument (par).
9563         Reverted floats number display to '#'. Perhaps I'll try again when the
9564         code base is sanitized a bit.
9565
9566 2002-08-12  Angus Leeming  <leeming@lyx.org>
9567
9568         * buffer.[Ch] (getLabelList): constify.
9569
9570 2002-08-07  André Pönitz <poenitz@gmx.net>
9571
9572         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9573
9574         * funcrequest.h: extension to keep mouse (x,y) position
9575
9576 2002-08-12  Juergen Vigna  <jug@sad.it>
9577
9578         * BufferView2.C (insertErrors): forbid undo when inserting error
9579         insets.
9580
9581         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9582
9583 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9584
9585         * ParagraphList.[Ch]: new files
9586
9587         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9588
9589         * BufferView2.C (lockInset): ParagraphList changes
9590         * toc.C: ditto
9591         * text2.C: ditto
9592         * bufferlist.C: ditto
9593         * buffer.h: ditto
9594         * buffer.C: ditto
9595
9596 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9597
9598         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9599         unused class variable counter_,
9600
9601         * paragraph.[Ch] (getFirstCounter): delete unused function
9602
9603         * counters.C: include LAssert.h
9604         (reset): add a new function with no arg, change other version to
9605         not have def. arg and to not allow empty arg.
9606
9607         * text2.C (setCounter): remove empty arg from call to Counters::reset
9608
9609 2002-08-11  John Levon  <levon@movementarian.org>
9610
9611         * Makefile.am: add WordLangTuple.h
9612
9613 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9614
9615         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9616         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9617
9618         * insets/insettext.C: InsetList changes
9619
9620         * graphics/GraphicsSupport.C (operator()): InsetList changes
9621
9622         * toc.C (getTocList): InsetList changes
9623
9624         * paragraph_pimpl.[Ch]: InsetList changes
9625
9626         * paragraph.[Ch]: InsetList changes
9627
9628         * buffer.C (inset_iterator): InsetList changes
9629         (setParagraph): ditto
9630         * buffer.h (inset_iterator): ditto
9631         * iterators.C (operator++): ditto
9632         * iterators.h: ditto
9633
9634         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9635
9636         * InsetList.[Ch]: new files, most InsetList handling moved out of
9637         paragraph.C.
9638
9639         * BufferView2.C (removeAutoInsets): InsetList changes
9640         (lockInset): ditto
9641         (ChangeInsets): ditto
9642
9643 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9644
9645         * paragraph_pimpl.h (empty): new function
9646
9647         * paragraph.[Ch] (empty): new function
9648
9649         * other files: use the new Paragraph::empty function
9650
9651 2002-08-09  John Levon  <levon@movementarian.org>
9652
9653         * lyxtext.h: remove unused refresh_height
9654
9655 2002-08-09  John Levon  <levon@movementarian.org>
9656
9657         * Makefile.am:
9658         * sgml.h:
9659         * sgml.C:
9660         * buffer.C:
9661         * paragraph.h:
9662         * paragraph.C: move sgml char escaping out of paragraph
9663
9664         * paragraph.h:
9665         * paragraph.C: remove id setter
9666
9667         * buffer.C:
9668         * paragraph.C:
9669         * paragraph_pimpl.C: remove dead tex_code_break_column
9670
9671         * bufferview_funcs.C: small cleanup
9672
9673         * lyxfunc.C: remove dead proto
9674
9675         * lyxtext.h: make some stuff private. Remove some dead stuff.
9676
9677         * lyxgluelength.C: make as[LyX]String() readable
9678
9679 2002-08-08  John Levon  <levon@movementarian.org>
9680
9681         * LyXAction.h:
9682         * LyXAction.C:
9683         * MenuBackend.C:
9684         * ToolbarDefaults.C:
9685         * lyxfunc.C:
9686         * lyxrc.C:
9687         * toc.C: lyxaction cleanup
9688
9689 2002-08-08  John Levon  <levon@movementarian.org>
9690
9691         * BufferView2.C: small cleanup
9692
9693         * lyxfind.h:
9694         * lyxfind.C: move unnecessary header into the .C
9695
9696 2002-08-08  John Levon  <levon@movementarian.org>
9697
9698         * funcrequest.h: just tedious nonsense
9699
9700         * lyx_main.h:
9701         * lyx_main.C: cleanups
9702
9703         * buffer.C:
9704         * vspace.C: remove dead header lyx_main.h
9705
9706 2002-08-07  Angus Leeming  <leeming@lyx.org>
9707
9708         * Paragraph.[Ch]:
9709         * paragraph_pimpl.h:
9710         Forward declare class Counters in paragraph.h by moving the ctrs member
9711         variable into Paragraph::Pimpl.
9712         (counters): new method, returning a reference to pimpl_->ctrs.
9713
9714         * text2.C: ensuing changes.
9715
9716 2002-08-07  John Levon  <levon@movementarian.org>
9717
9718         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9719
9720         * BufferView_pimpl.C: announce X selection on double/triple
9721           click
9722
9723         * lyx_main.C: use correct bool in batch dispatch
9724
9725         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9726
9727 2002-08-07  André Pönitz <poenitz@gmx.net>
9728
9729         * funcrequest.h: new class to wrap a kb_action and its argument
9730
9731         * BufferView.[Ch]:
9732         * BufferView_pimpl[Ch]:
9733         * LaTeX.C:
9734         * LyXAction.[Ch]:
9735         * lyxfunc.[Ch]:
9736         * lyxrc.C: subsequent changes
9737
9738
9739 2002-08-07  John Levon  <levon@movementarian.org>
9740
9741         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9742           document options change.
9743
9744 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9745
9746         * counters.[Ch]
9747         * text2.C
9748         * paragraph.[Ch]
9749         * makefile.am: move counters functionality over from
9750         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9751
9752 2002-08-06  John Levon  <levon@movementarian.org>
9753
9754         * WordLangTuple.h: new file for word + language code tuple
9755
9756         * SpellBase.h:
9757         * pspell.h:
9758         * pspell.C:
9759         * ispell.h:
9760         * ispell.C:
9761         * lyxtext.h:
9762         * text.C:
9763         * text2.C:
9764         * BufferView.h:
9765         * BufferView2.C: use WordLangTuple
9766
9767         * layout.h:
9768         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9769
9770 2002-08-06  John Levon  <levon@movementarian.org>
9771
9772         * lyx_main.C: fix cmdline batch handling
9773
9774 2002-08-06  André Pönitz <poenitz@gmx.net>
9775
9776         * lyxrc.C: set default for show_banner to true
9777
9778 2002-08-06  John Levon  <levon@movementarian.org>
9779
9780         * pspell.C: fix a crash, and allow new aspell to work
9781
9782 2002-08-06  John Levon  <levon@movementarian.org>
9783
9784         * lyxfunc.C:
9785         * kbmap.C: small cleanup
9786
9787         * vspace.h:
9788         * vspace.C: add const
9789
9790 2002-08-05  John Levon  <levon@movementarian.org>
9791
9792         * LyXAction.C: back to tabular-insert
9793
9794 2002-08-04  John Levon  <levon@movementarian.org>
9795
9796         * BufferView.h:
9797         * BufferView.C: cosmetic change
9798
9799         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9800
9801         * bufferlist.C:
9802         * buffer.h:
9803         * buffer.C:
9804         * lyxcb.h:
9805         * lyxcb.C:
9806         * lyxserver.C:
9807         * lyxvc.C:
9808         * vc-backend.C:
9809         * BufferView2.C: purge all "Lyx" not "LyX" strings
9810
9811         * lyxcursor.h:
9812         * lyxcursor.C: attempt to add some documentation
9813
9814         * lyxfunc.C:
9815         * commandtags.h:
9816         * LyXAction.C:
9817         * ToolbarDefaults.C:
9818         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9819           merge with LFUN_TABULAR_INSERT
9820
9821         * Makefile.am:
9822         * SpellBase.h:
9823         * ispell.h:
9824         * ispell.C:
9825         * pspell.h:
9826         * pspell.C: split up i/pspell implementations into separate
9827           files, many cleanups
9828
9829         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9830
9831         * text2.C: some cleanup
9832
9833         * lyxfunc.C: don't check for isp_command == "none" any more, it
9834           didn't make any sense
9835
9836 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9837
9838         * counters.[Ch]
9839         * text2.C
9840         * paragraph.[Ch]
9841         * makefile.am: move counters functionality over
9842         from text2.C/paragraph.[Ch] to counters.[Ch], and
9843         make proper C++.
9844 2002-08-02  John Levon  <levon@movementarian.org>
9845
9846         * buffer.C: s/lyxconvert/lyx2lyx/
9847
9848 2002-08-02  Angus Leeming  <leeming@lyx.org>
9849
9850         * lyxlex.C: revert John's change as it breaks reading of the user
9851         preamble.
9852
9853 2002-08-02  Angus Leeming  <leeming@lyx.org>
9854
9855         * importer.C (Import):
9856         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9857         changes due to LyXView::view() now returning a boost::shared_ptr.
9858
9859 2002-08-02  John Levon  <levon@movementarian.org>
9860
9861         * lyxlex.C: small cleanup
9862
9863 2002-08-02  John Levon  <levon@movementarian.org>
9864
9865         * text2.C (status): small cleanup, no logic change
9866
9867 2002-08-01  John Levon  <levon@movementarian.org>
9868
9869         * buffer.h:
9870         * buffer.C (writeFile): don't output alerts, caller
9871           handles this
9872
9873         * bufferlist.C:
9874         * lyx_cb.C: from above
9875
9876         * lyxfunc.C: allow to open non-existent files
9877
9878 2002-07-31  John Levon  <levon@movementarian.org>
9879
9880         * lyxserver.C: don't let incidental errors get
9881           in the way (errno)
9882
9883 2002-07-30  John Levon  <levon@movementarian.org>
9884
9885         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9886
9887 2002-07-30  John Levon  <levon@movementarian.org>
9888
9889         * lyxserver.h:
9890         * lyxserver.C: remove I/O callback too
9891
9892 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9893
9894         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9895         log.
9896
9897 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9898
9899         * many files: strip,frontStrip -> trim,ltrim,rtrim
9900
9901 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9902
9903         * PrinterParams.h: remove extern containsOnly, and include
9904         support/lstrings.h instead.
9905
9906         * LaTeX.C (scanAuxFile): modify because of strip changes
9907         (deplog): ditto
9908         * buffer.C (makeLaTeXFile): ditto
9909         * bufferparams.C (writeFile): ditt
9910         * lyxfont.C (stateText): ditto
9911         * lyxserver.C (read_ready): ditto
9912         * vc-backend.C (scanMaster): ditto
9913
9914         * BufferView_pimpl.h: ws changes
9915
9916         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9917
9918 2002-07-26  André Pönitz <poenitz@gmx.net>
9919
9920         * kb_sequence.C: remove unnedred usings
9921
9922 2002-07-26  Juergen Vigna  <jug@sad.it>
9923
9924         * lyxfind.C (LyXReplace): we have to check better if the returned
9925         text is not of theLockingInset()->getLockingInset().
9926
9927 2002-07-25  Juergen Vigna  <jug@sad.it>
9928
9929         * lyxfind.C (LyXReplace): don't replace if we don't get the
9930         right LyXText.
9931
9932         * undo_funcs.C (createUndo): remove debugging code.
9933
9934 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9935
9936         * buffer.C (parseSingleLyXformat2Token): Use default placement
9937         when reading old floats.
9938
9939         * FloatList.C (FloatList): Change the default placement of figure
9940         and tables to "tbp".
9941
9942 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9943
9944         * MenuBackend.C: using std::max
9945
9946 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9947
9948         * MenuBackend.C (expandToc):
9949         (expandToc2): code moved from xforms menu frontend. It is now
9950         generic and TOCs are transparent to menu frontends.
9951
9952 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9953
9954         * toc.C (getTocList): protect against buf=0
9955
9956         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9957         Menu as first parameter. Now, this calls itself recursively to
9958         expand a whole tree (this will be useful for TOC handling)
9959         (expandFloatInsert): remove 'wide' version of floats
9960
9961         * MenuBackend.h (submenuname): returns the name of the submenu.
9962         (submenu): returns the submenu itself, provided it has been
9963         created by MenuBackend::expand
9964
9965 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9968         insets which have noFontChange == true. (bug #172)
9969
9970 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9971
9972         * BufferView_pimpl.C: add connection objects and use them...
9973         (Pimpl): here.
9974
9975 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9976
9977         * MenuBackend.C (expandLastfiles):
9978         (expandDocuments):
9979         (expandFormats):
9980         (expandFloatListInsert):
9981         (expandFloatInsert):
9982         (expand): split expand in parts
9983
9984 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * lyx_gui.C: use lyx_gui::exit()
9987
9988 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9989
9990         * LyXAction.C: show the failing pseudo action
9991
9992 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * buffer.C (readFile): Run the lyxconvert script in order to read
9995         old files.
9996
9997 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9998
9999         * LyXAction.C:
10000         * commandtags.h:
10001         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10002
10003 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * LyXAction.C:
10006         * commandtags.h:
10007         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10008
10009 2002-07-22  Herbert Voss  <voss@lyx.org>
10010
10011         * lengthcommon.C:
10012         * lyxlength.[Ch]: add support for the vertical lengths
10013
10014 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10015
10016         * toc.[Ch]: std:: fixes
10017
10018 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10019
10020         * lyxrc.C: do not include lyx_main.h
10021
10022         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10023         for layouts
10024
10025         * lyxrc.C:
10026         * encoding.C:
10027         * bufferlist.C:
10028         * BufferView2.C: include "lyxlex.h"
10029
10030         * tabular.h:
10031         * bufferparams.h: do not #include "lyxlex.h"
10032
10033         * lyxtextclasslist.C (Add): remove method
10034         (classlist): renamed to classlist_
10035
10036         * paragraph_pimpl.C:
10037         * paragraph.C:
10038         * text2.C:
10039         * CutAndPaste.C:
10040         * bufferview_funcs.C:
10041         * bufferlist.C:
10042         * text.C:
10043         * LaTeXFeatures.C:
10044         * buffer.C:
10045         * toc.C (getTocList): use BufferParams::getLyXTextClass
10046
10047         * toc.C (getTocList): use InsetFloat::addToToc
10048
10049         * toc.[Ch]: new files, containing helper functions to handle table
10050         of contents
10051
10052         * lyxfunc.C (dispatch): no need to remove spaces around command
10053         given as a string
10054         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10055         first command of the sequence; it is not very clever, but I do not
10056         have a better idea, actually
10057
10058         * LyXAction.C (LookupFunc): make sure to remove space at the
10059         beginning and end of the command
10060
10061 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10062
10063         * MenuBackend.C (getMenubar): new method: return the menubar of
10064         this menu set
10065         (read): treat differently reading of menu and menubar (in
10066         particular, the menubar has no name now)
10067         (Menu::menubar): remove
10068
10069         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10070         saving is finished
10071
10072 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10073
10074         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10075         a bibitem inset in a RTL paragraph.
10076
10077 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10078
10079         * paragraph_pimpl.C: constify
10080
10081         * BufferView_pimpl.C:
10082         * LaTeX.C:
10083         * lyxfunc.C: fix dispatch in a nicer way
10084
10085 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10086
10087         * lyxfunc.C (dispatch):
10088         * BufferView_pimpl.C:
10089         * BufferView_pimpl.h:
10090         * BufferView.C:
10091         * BufferView.h: rename Dispatch() to dispatch()
10092
10093         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10094
10095         * lyxlayout.C (Read): honor DependsOn tag
10096
10097         * lyxlayout.[Ch] (depends_on): new method
10098
10099         * version.C.in: update lyx_docversion
10100
10101         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10102
10103         * paragraph.C (validate): remove from here...
10104         * paragraph_pimpl.C (validate): ... and move here
10105         (isTextAt): make it const
10106
10107         * buffer.C (getLists): ws cleanup
10108
10109 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10110
10111         * language.C (read): Use iso8859-1 encoding in latex_lang
10112         (this prevents LyX from crashing when using iso10646-1 encoding).
10113
10114 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10115
10116         * text2.C (toggleInset): if cursor is inside an inset, close the
10117         inset and leave cursor _after_ it
10118
10119 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * lyxfunc.C: move minibuffer completion handling out of here
10122
10123 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10124
10125         * BufferView_pimpl.C:
10126         * LaTeX.C: fix dispatch calls
10127
10128 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10129
10130         * text.C (drawChars): Fix Arabic text rendering.
10131
10132 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * LyXAction.C:
10135         * commandtags.h:
10136         * lyxfunc.C: remove message-push/pop
10137
10138         * lyxserver.C:
10139         * lyxfunc.h:
10140         * lyxfunc.C: rationalise some code by removing verboseDispatch
10141           in favour of a bool argument to dispatch()
10142
10143 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * lyx_main.C (init): make sure to read symlinks as absolute paths
10146
10147 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10148
10149         * lyxfunc.h:
10150         * lyxfunc.C: no need for commandshortcut to be a member
10151
10152 2002-07-15  André Pönitz <poenitz@gmx.net>
10153
10154         * converter.C: add support for $$s (scripts from lib/scripts dir)
10155         * lyx_main.C: white space
10156
10157 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * bufferlist.C:
10160         * lyxrc.h:
10161         * lyxrc.C: remove second exit confirmation
10162
10163 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * BufferView.h:
10166         * BufferView.C:
10167         * BufferView2.C:
10168         * BufferView_pimpl.h:
10169         * BufferView_pimpl.C:
10170         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10171
10172 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10173
10174         * MenuBackend.C (expand): add numeric shortcuts to document menu
10175
10176         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10177
10178 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10179
10180         * lyxfont.C (setLyXFamily):
10181         (setLyXSeries):
10182         (setLyXShape):
10183         (setLyXSize):
10184         (setLyXMisc):
10185         (lyxRead):
10186         * debug.C (value):
10187         * buffer.C (asciiParagraph): use ascii_lowercase
10188
10189 2002-07-15  Mike Fabian  <mfabian@suse.de>
10190
10191         * lyxlex_pimpl.C (search_kw):
10192         * lyxlex.C (getLongString):
10193         * converter.h (operator<):
10194         * converter.C (operator<):
10195         * buffer.C (parseSingleLyXformat2Token):
10196         (asciiParagraph):
10197         * ToolbarDefaults.C (read):
10198         * MenuBackend.C (checkShortcuts):
10199         (read):
10200         * LColor.C (getFromGUIName):
10201         (getFromLyXName): use the compare_ascii_no_case instead of
10202         compare_no_case, because in turkish, 'i' is not the lowercase
10203         version of 'I', and thus turkish locale breaks parsing of tags.
10204
10205 2002-07-16  Angus Leeming  <leeming@lyx.org>
10206
10207         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10208         now takes a Buffer const & argument.
10209
10210 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * BufferView.C (resize): check there's a buffer to resize
10213
10214 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10215
10216         * lyxfunc.C: remove dead code
10217
10218         * lyxserver.h:
10219         * lyxserver.C: use lyx_guii::set_read_callback
10220
10221 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10222
10223         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10224         an inset in a RTL paragraph.
10225
10226 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10227
10228         * lyxfunc.C: repaint after a font size update
10229
10230 2002-07-15  André Pönitz <poenitz@gmx.net>
10231
10232         * lyxlength.C: inBP should be able to return negative values
10233
10234 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * lyxfunc.C: use lyx_gui::update_fonts()
10237
10238 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * lyxfunc.C: use lyx_gui::update_color()
10241
10242 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * bufferlist.C:
10245         * lyxfunc.h:
10246         * lyxfunc.C:
10247         * lyxrc.h:
10248         * lyxrc.C: remove file->new asks for name option, and let
10249           buffer-new take an argument
10250
10251 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * BufferView_pimpl.C: remove unneeded extra repaint()
10254
10255 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * LyXAction.C: allow command-sequence with NoBuffer
10258
10259         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10260
10261 2002-07-10  Angus Leeming  <leeming@lyx.org>
10262
10263         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10264
10265 2002-07-09  Angus Leeming  <leeming@lyx.org>
10266
10267         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10268
10269 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10270
10271         * lengthcommon.h: whitespace
10272
10273         * lyxfunc.C: update scrollbar after goto paragraph
10274
10275         * lyxtext.h: factor out page break drawing, and fix it so
10276           page break/added space paints as selected nicely
10277
10278 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10279
10280         * BufferView_pimpl.C: add FIXMEs, clean up a little
10281
10282 2002-07-09  André Pönitz <poenitz@gmx.net>
10283
10284         * lyxfont.[Ch]: support for wasy symbols
10285
10286 2002-07-08  André Pönitz <poenitz@gmx.net>
10287
10288         * BufferView_pimpl.C: apply John's patch for #93.
10289
10290 2002-07-05  Angus Leeming  <leeming@lyx.org>
10291
10292         * BufferView_pimpl.C (buffer): generate previews if desired.
10293
10294         * LColor.h: add "preview" to the color enum.
10295
10296         * LColor.C (LColor): add a corresponding entry to the items array.
10297
10298         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10299         with this buffer.
10300
10301 2002-07-05  Angus Leeming  <leeming@lyx.org>
10302
10303         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10304         The body of the code is now in the method that is passed an ostream &
10305         rather than a file name.
10306         Pass an additional only_preamble parameter, useful for the forthcoming
10307         preview stuff.
10308
10309 2002-07-03  André Pönitz <poenitz@gmx.net>
10310
10311         * lyxfunc.C: simplify getStatus() a bit for math stuff
10312
10313 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10314
10315         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10316
10317 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10318
10319         * text.C (changeRegionCase): do not change case of all the
10320         document when region ends at paragraph end (bug #461)
10321
10322 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10323
10324         * paragraph.C (startTeXParParams):
10325         (endTeXParParams): add \protect when necessary
10326
10327 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10328
10329         * BufferView_pimpl.C (workAreaExpose): remove warning
10330
10331 2002-06-27  Angus Leeming  <leeming@lyx.org>
10332
10333         * Makefile.am: add lyxlayout_ptr_fwd.h.
10334
10335 2002-06-26  André Pönitz <poenitz@gmx.net>
10336
10337         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10338
10339 2002-06-25  Angus Leeming  <leeming@lyx.org>
10340
10341         * lyxfunc.C (dispatch): Comment out the call to
10342         grfx::GCache::changeDisplay. The method no longer exists now that the
10343         pixmap generation part of the graphics loader has been moved into
10344         InsetGraphics.
10345
10346 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10347
10348         * text2.C: layout as layout
10349
10350         * text.C: layout as layout
10351
10352         * tabular.C (OldFormatRead): layout as layout
10353
10354         * paragraph_pimpl.C (TeXDeeper): layout as layout
10355         (realizeFont): layout as layout
10356
10357         * paragraph.C (writeFile): layout as layout
10358         (validate): layout as layout
10359         (getFont): layout as layout
10360         (getLabelFont): layout as layout
10361         (getLayoutFont): layout as layout
10362         (breakParagraph): layout as layout
10363         (stripLeadingSpaces): layout as layout
10364         (getEndLabel): layout as layout
10365         (getMaxDepthAfter): layout as layout
10366         (applyLayout): layout as layout
10367         (TeXOnePar): layout as layout
10368         (simpleTeXOnePar): layout as layout
10369         (TeXEnvironment): layout as layout
10370         (layout): layout as layout
10371         (layout): layout as layout
10372
10373         * lyxtextclass.C (compare_name): new functor to work with
10374         shared_ptr, layout as layout
10375         (Read): layout as layout
10376         (hasLayout): layout as layout
10377         (operator): layout as layout
10378         (delete_layout): layout as layout
10379         (defaultLayout): layout as layout
10380
10381         * lyxlayout_ptr_fwd.h: new file
10382
10383         * lyxlayout.C (Read): layout as layout
10384
10385         * lyx_cb.C (MenuInsertLabel): layout as layout
10386
10387         * bufferlist.C (newFile): layout as layout
10388
10389         * buffer.C (readLyXformat2): layout as layout
10390         (parseSingleLyXformat2Token): layout as layout
10391         (insertStringAsLines): layout as layout
10392         (asciiParagraph): layout as layout
10393         (latexParagraphs): layout as layout
10394         (makeLinuxDocFile): layout as layout
10395         (simpleLinuxDocOnePar): layout as layout
10396         (makeDocBookFile): layout as layout
10397         (simpleDocBookOnePar): layout as layout
10398         (getLists): layout as layout
10399
10400         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10401
10402         * CutAndPaste.C (cutSelection): layout as layout
10403         (pasteSelection): layout as layout
10404         (SwitchLayoutsBetweenClasses): layout as layout
10405
10406         * BufferView_pimpl.C (Dispatch): layout as layout
10407         (smartQuote): layout as layout
10408
10409         * BufferView2.C (unlockInset): layout as layout
10410
10411 2002-06-24  André Pönitz <poenitz@gmx.net>
10412
10413         * lyxfunc.C: fix #487
10414
10415 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10416
10417         * lyxrc.h:
10418         * lyxrc.C:
10419         * lyxfunc.C: remove display_shortcuts, show_banner
10420
10421 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * Buffer_pimpl.C: oops, update on resize
10424
10425 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10426
10427         * buffer.C:
10428         * converter.C:
10429         * exporter.C:
10430         * lyxfunc.C:
10431         * BufferView.h:
10432         * BufferView.C: use repaint()
10433
10434         * BufferView_pimpl.h:
10435         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10436           as it's a clearer description. Remove superfluous
10437           redraws.
10438
10439 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * text.C: fix bug 488. Not ideal, but getting
10442           getWord() to work properly for the insets that
10443           matter is more difficult ...
10444
10445 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10446
10447         * BufferView_pimpl.C:
10448         * LyXAction.C:
10449         * commandtags.h:
10450         * lyxfunc.C: remove the six million index lyxfuncs to just
10451           one, and DTRT (bug 458)
10452
10453 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10454
10455         * BufferView.h:
10456         * BufferView.C:
10457         * BufferView_pimpl.h:
10458         * BufferView_pimpl.C: clean up resize() stuff,
10459           and unnecessary updateScreen()s
10460
10461 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10462
10463         * BufferView.h:
10464         * BufferView.C:
10465         * BufferView_pimpl.h:
10466         * BufferView_pimpl.C:
10467         * lyxfind.h:
10468         * lyxfind.C:
10469         * minibuffer.C: remove focus management of workarea,
10470           not needed. Use screen's greyOut()
10471
10472 2002-06-17  Herbert Voss  <voss@lyx.org>
10473
10474         * converter.C: (convert) do not post a message, when converting
10475         fails, let the calling function decide what to do in this case
10476
10477 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * lyxfunc.C: tidy up a little
10480
10481 2002-06-16    <alstrup@diku.dk>
10482
10483         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10484         Got rid of FORMS_H_LOCATION include. Now we are
10485         GUII.
10486
10487 2002-06-15  LyX Development team  <lyx@rilke>
10488
10489         * buffer.[Ch] (sgmlOpenTag):
10490         (sgmlCloseTag): Added support for avoiding pernicious mixed
10491         content. Return number of lines written.
10492
10493         (makeLinuxDocFile):
10494         (makeDocBookFile): Fixed calls to sgml*Tag.
10495         Simple white space clean.
10496
10497         (simpleDocBookOnePar): Simple white space clean.
10498
10499         * tabular.[Ch] (docBook): Renamed to docbook and got another
10500         argument to related with the pernicious mixed content.
10501
10502         (docbookRow): Fixed calls for docbook inset method.
10503
10504 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10505
10506         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10507         so it's X11 independent.
10508
10509         * kb*.[Ch]: ditto.
10510
10511         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10512
10513 2002-06-15  Lyx Development team  <lyx@electronia>
10514
10515         * intl.h: Renamed getTrans to getTransManager.
10516
10517 2002-06-14  Angus Leeming  <leeming@lyx.org>
10518
10519         * Makefile.am: nuke forgotten stl_string_fwd.h.
10520
10521 2002-06-12  Angus Leeming  <leeming@lyx.org>
10522
10523         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10524
10525 2002-06-13  Angus Leeming  <leeming@lyx.org>
10526
10527         * LaTeX.C:
10528         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10529
10530 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10531
10532         * kbmap.C (getiso): add support for cyrillic and greek
10533
10534 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10535
10536         * BufferView.h:
10537         * BufferView.C:
10538         * BufferView_pimpl.h:
10539         * BufferView_pimpl.C: move bogus scrolling logic
10540           to xforms
10541
10542 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10543
10544         * lyxfunc.C:
10545         * BufferView_pimpl.C: view->resize() change
10546
10547 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * BufferView_pimpl.C: topCursorVisible
10550           prototype change
10551
10552 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10553
10554         * Makefile.am:
10555         * lyx_gui.h:
10556         * lyx_gui.C: move to frontends/
10557
10558         * main.C:
10559         * lyx_main.h:
10560         * lyx_main.C: changes from above
10561
10562 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10563
10564         * intl.C:
10565         * intl.h:
10566         * kbmap.C:
10567         * kbsequence.C:
10568         * lyx_cb.C:
10569         * lyx_main.C: minor tidy
10570
10571 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * BufferView_pimpl.h:
10574         * BufferView_pimpl.C:
10575         * BufferView.h:
10576         * BufferView.C: make painter() const,
10577           remove dead code
10578
10579         * BufferView2.C: use screen() accessor
10580
10581         * lyx_main.h:
10582         * lyx_main.C: some minor cleanup
10583
10584 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * BufferView_pimpl.h:
10587         * BufferView_pimpl.C: remove enter/leaveView,
10588           use workHeight()
10589
10590 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * BufferView.h:
10593         * BufferView.C:
10594         * BufferView2.C:
10595         * BufferView_pimpl.h:
10596         * BufferView_pimpl.C: only construct screen once,
10597           rename
10598
10599         * lyxrc.C: remove pointless comment
10600
10601 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * BufferView.h:
10604         * BufferView.C: remove active() and belowMouse()
10605
10606         * BufferView_pimpl.h:
10607         * BufferView_pimpl.C: use workarea() not workarea_,
10608           and make it use a scoped_ptr instead
10609
10610 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10611
10612         * lyx_gui.C: add debug message on BadWindow
10613
10614 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10615
10616         * sp_spell.C: fdopen is not part of the C++ standard.
10617
10618         * paragraph.C (InsetIterator): use >= instead of ==
10619
10620 2002-06-07  Angus Leeming  <leeming@lyx.org>
10621
10622         Fixes needed to compile with Compaq cxx 6.5.
10623         * BufferView_pimpl.C:
10624         * DepTable.C:
10625         * buffer.C:
10626         * converter.C:
10627         * encoding.C:
10628         * lyx_gui.C:
10629         * lyx_main.C:
10630         * lyxtextclasslist.C:
10631         * minibuffer.C:
10632         * sp_spell.C:
10633         * tabular_funcs.C:
10634         * vc-backend.C:
10635         all c-library variables have been moved into namespace std. Wrap
10636         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10637
10638         * lyxlength.C:
10639         * tabular-old.C:
10640         * tabular.C:
10641         Add a using std::abs declaration.
10642
10643         * kbmap.h (modifier_pair):
10644         * paragraph.h (InsetTable, InsetList):
10645         * lyxfont.h (FontBits):
10646         type definition made public.
10647
10648         * bufferlist.C (emergencyWriteAll): the compiler complains that
10649         there is more than one possible lyx::class_fun template to choose from.
10650         I re-named the void specialisation as lyx::void_class_fun.
10651
10652         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10653
10654         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10655         the compiler is is unable to find tostr in write_attribute.
10656
10657 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10658
10659         * buffer.C (sgmlError): hide #warning
10660
10661 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10662
10663         * xtl/*: get rid of xtl, which is not in use anyway
10664
10665         * LyXAction.C (init):
10666         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10667         were unimplemented xtl experimentation
10668
10669 2002-06-04  André Pönitz <poenitz@gmx.net>
10670
10671         * lyxfunc.C: disable array operation on simple formulae
10672
10673 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * converter.C: constify a bit
10676
10677 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10678
10679         * lyx_gui.C: check xforms version correctly
10680
10681 2002-04-30  Herbert Voss  <voss@lyx.org>
10682
10683         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10684         "keep" option
10685
10686 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10689           attempt to register it with a VCS)
10690
10691 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * lyx_main.C (init): honor variables LYX_DIR_13x and
10694         LYX_USERDIR_13x
10695
10696 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * buffer.h:
10699         * buffer.C:
10700         * lyx_main.C: fix a crash on bad command line,
10701           and give a useful exit status on error
10702
10703         * lyxfunc.C (doImport): allow -i lyx to work
10704
10705 2002-03-30  André Pönitz <poenitz@gmx.net>
10706
10707         * lyxfunc.C: mathed font changes
10708
10709 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * LaTeX.C:
10712         * importer.h:
10713         * importer.C:
10714         * lyx_sty.h:
10715         * lyx_sty.C:
10716         * lyxlex.C:
10717         * lyxrow.h:
10718         * lyxtext.h:
10719         * paragraph.h:
10720         * paragraph.C:
10721         * texrow.h:
10722         * texrow.C:
10723         * text.C:
10724         * trans_mgr.h: srcdocs, and some minor cleanups
10725
10726 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10727
10728         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10729         call getFont all the time)
10730
10731 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * switch from SigC signals to boost::signals
10734
10735 2002-05-29  André Pönitz <poenitz@gmx.net>
10736
10737         * paragraph_pimpl.C (getChar): don't call size() too often...
10738
10739 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10740
10741         * paragraph_pimpl.C (insertChar): do not try to update tables when
10742         appending (pos == size())
10743
10744         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10745         in order to reduce drastically the number of comparisons needed to
10746         parse a large document
10747
10748 2002-05-29  André Pönitz <poenitz@gmx.net>
10749
10750         * text.C:
10751         * text2.C:
10752         * lyxtextclass.C:
10753         * sp_pspell.h:
10754         * textclasslist.[Ch]:
10755         * sp_ispell.h: whitespace change
10756
10757 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10758
10759         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10760         lyxaction directly now.
10761
10762 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10763
10764         * trans.C:
10765         * lyxfont.C:
10766         * lyxvc.C: remove unused headers
10767
10768 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10769
10770         * Makefile.am:
10771         * buffer.h:
10772         * undostack.h:
10773         * undostack.C:
10774         * undo_funcs.h:
10775         * undo_funcs.C: some cleanups. Use shared_ptr
10776           and a template for the undo stacks.
10777
10778 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10779
10780         * BufferView_pimpl.h:
10781         * BufferView_pimpl.C:
10782         * kbmap.h:
10783         * kbmap.C:
10784         * kbsequence.h:
10785         * kbsequence.C:
10786         * lyxfunc.h:
10787         * lyxfunc.C:
10788         * text2.C: use key_state/mouse_state
10789
10790 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10791
10792         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10793         and LSubstring
10794
10795         * chset.C: change include order
10796         (loadFile): use boost regex and get rid of LRegex and LSubstring
10797
10798         * Makefile.am (BOOST_LIBS): new variable
10799         (lyx_LDADD): use it
10800
10801         * LaTeX.C: change include order.
10802         (scanAuxFile): use boost regex and get rid of LRegex and
10803         LSubstring
10804         (deplog): ditto
10805
10806 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * ColorHandler.h:
10809         * ColorHandler.C:
10810         * FontInfo.h:
10811         * FontInfo.C: moved to frontends/xforms/
10812
10813         * FontLoader.h:
10814         * FontLoader.C: moved into frontends for GUIIzation
10815
10816         * Makefile.am:
10817         * lyx_gui.C:
10818         * lyxfont.C:
10819         * lyxfunc.C: changes from above
10820
10821 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10822
10823         * LColor.C: remove spurious X include
10824
10825         * BufferView_pimpl.C:
10826         * Makefile.am:
10827         * font.h:
10828         * font.C:
10829         * text.C:
10830         * text2.C: move font metrics to frontends/
10831
10832 2002-05-24  Juergen Vigna  <jug@sad.it>
10833
10834         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10835         setting the undo_cursor.
10836
10837         * ParagraphParameters.h: include local includes first.
10838
10839 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10840
10841         * BufferView_pimpl.C:
10842         * BufferView_pimpl.h:
10843         * Makefile.am:
10844         * WorkArea.h:
10845         * WorkArea.C:
10846         * screen.C: move WorkArea into frontends/
10847
10848         * lyxscreen.h:
10849         * screen.C:
10850         * text.C:
10851         * BufferView.C:
10852         * BufferView2.C: move LyXScreen into frontends/
10853
10854         * lyxlookup.h:
10855         * lyxlookup.C:
10856         * lyx_gui.C: move lyxlookup into frontends/xforms/
10857
10858 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * BufferView2.C:
10861         * BufferView_pimpl.C:
10862         * FontLoader.C:
10863         * LyXView.h:
10864         * LyXView.C:
10865         * Makefile.am:
10866         * WorkArea.C:
10867         * XFormsView.h:
10868         * XFormsView.C:
10869         * buffer.C:
10870         * bufferlist.C:
10871         * bufferview_funcs.C:
10872         * converter.C:
10873         * importer.C:
10874         * lyx_cb.C:
10875         * lyx_gui.C:
10876         * lyx_main.C:
10877         * lyx_find.C:
10878         * lyxfunc.C:
10879         * lyxvc.C:
10880         * minibuffer.C:
10881         * text.C:
10882         * text2.C:
10883         * trans.C:
10884         * vc-backend.C: move LyX/XFormsView into frontends/
10885
10886 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10887
10888         * Makefile.am:
10889         * PainterBase.C:
10890         * PainterBase.h:
10891         * Painter.C:
10892         * Painter.h:
10893         * WorkArea.C:
10894         * WorkArea.h:
10895         * screen.C:
10896         * tabular.C:
10897         * text.C:
10898         * text2.C: move Painter to frontends/
10899
10900 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10901
10902         * buffer.C: comment out some some code that depend upon lyx_format
10903         < 220
10904
10905         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10906         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10907
10908         * buffer.h (NO_COMPABILITY): turn off compability
10909
10910         * ColorHandler.C: include scoped_array.hpp
10911
10912         * font.C: Use more specific smart_ptr header.
10913         * Painter.C: ditto
10914         * gettext.C: ditto
10915         * ShareContainer.h: ditto
10916         * lyx_main.h: ditto
10917         * kbmap.h: ditto
10918         * FontInfo.h: ditto
10919         * BufferView_pimpl.h: ditto
10920         * ColorHandler.h: ditto
10921
10922         * kbmap.C (defkey): change call to shared_ptr::reset
10923
10924 2002-05-21  Juergen Vigna  <jug@sad.it>
10925
10926         * buffer.C (insertErtContents): fix to insert ert asis if it is
10927         non empty. Skip it completely if it contains only whitespaces.
10928
10929 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * BufferView_pimpl.C:
10932         * BufferView2.C: clear selection on paste (bug 393)
10933
10934 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10935
10936         * DepTable.C: include ctime
10937
10938 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10939
10940         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10941
10942 2002-05-14  Juergen Vigna  <jug@sad.it>
10943
10944         * text.C (breakParagraph): fixed function to honor the keepempty
10945         layout in the right maner and also to permit the right breaking
10946         algorithm on empty or non empyt keepempty paragraphs.
10947
10948         * paragraph.C (breakParagraph): we have to check also if the par
10949         is really empty (!size()) for isempty otherwise we do the wrong
10950         paragraph break.
10951
10952 2002-05-10  Juergen Vigna  <jug@sad.it>
10953
10954         * buffer.[Ch] : The following are only changes to the ert
10955         compatibility read reading old LaTeX layout and font stuff and
10956         convert it to ERTInsets.
10957
10958         * buffer.h: added isErtInset().
10959
10960         * buffer.C (struct ErtComp): add a fromlayout bool to check
10961         if we're inside a LaTeX layout.
10962         (isErtInset): new helper function.
10963         (insertErtContents): look for other ert insets before this one
10964         and insert the contents there, so that we don't have subsequent
10965         ERT insets with nothing between them. This way we create only one
10966         inset with multiple paragraphs. Also check if we don't insert only
10967         spaces ' ' as they are ignored anyway afterwards in the .tex file
10968         so if we have only spaces we will ignore this latex part in the
10969         new file.
10970         (parseSingleLyXformat2Token \\layout): better compatibility when
10971         reading layout-latex stuff.
10972         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10973         language tag.
10974         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10975         stuff after reading the inset only get the information back from
10976         the stack.
10977
10978 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10979
10980         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10981
10982         * LaTeXFeatures.C (getBabelOptions): New method.
10983
10984 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985
10986         * BufferView_pimpl.C (Dispatch): work around missing argument for
10987         'layout'
10988
10989 2002-05-08  Juergen Vigna  <jug@sad.it>
10990
10991         * text.C (leftMargin): handle paragraph leftindent.
10992
10993         * paragraph.C (writeFile): write the new \\leftindent tag.
10994         (validate): handle leftindent code.
10995         (TeXEnvironment): handle paragraphleftindent code again.
10996
10997         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10998
10999         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11000         for paragrap_extra indent code and new token \\leftindent.
11001         (latexParagraphs): handle the leftindent as environment.
11002
11003         * ParameterStruct.h: added leftindent support.
11004
11005         * ParagraphParameters.C (leftIndent): added support functions for
11006         the paragraph left indent.
11007
11008         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11009         more appropriate.
11010
11011 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11012
11013         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11014         inside insetERT.
11015
11016         * text.C (computeBidiTables): No bidi in insetERT.
11017
11018         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11019         in RTL documents.
11020
11021 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11022
11023         * version.C.in: pre 5
11024
11025 2002-05-02  José Matos  <jamatos@fep.up.pt>
11026         * buffer.C (makeDocBookFile): white space changes, add newline to
11027         command styles.
11028         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11029
11030         * tabular.C (docBook): fix typo.
11031
11032 2002-05-03  Juergen Vigna  <jug@sad.it>
11033
11034         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11035         change in LyXText as we can not be sure it was not freed.
11036         (drawOneRow): remove unused code.
11037
11038         * text.C (drawInset): redo the calculation of the need_break_row as
11039         it could have a row which was already freed.
11040         (draw): look at the return value of drawInset and return false if
11041         it also returned false.
11042         (paintRowText): look at the return value of draw and return false if
11043         it also returned false.
11044
11045         * lyxtext.h: added bool return type to drawInset() and draw() so that
11046         if we have a change in the row so that the rowbreak has to be redone
11047         we abort drawing as it will be called again.
11048
11049 2002-05-02  Juergen Vigna  <jug@sad.it>
11050
11051         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11052         a change in the maintext also if we're inside an inset.
11053         (Dispatch): set the cursor again after a break line and after the
11054         screen has been updated as it could be we're in a different row.
11055
11056         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11057         to set the cursor behind the pargraph with > size().
11058         (setCursor): check also for the same paragraph when checking where
11059         to put the cursor if we have a NFR inset.
11060
11061         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11062         parts of layout read further up as it still was in the wrong
11063         position.
11064
11065 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11066
11067         * screen.C (drawFromTo): change sine fullRebreak always return
11068         true.
11069
11070         * buffer.C (parseSingleLyXformat2Token): reindent some
11071
11072         * BufferView_pimpl.C (update): change since fullRebreak always
11073         return true.
11074         (Dispatch): git rid of the last hardcoded "Standard"s.
11075
11076 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11077
11078         * text2.[Ch] (fullRebreak): make it return void now that we always
11079         returned true.
11080
11081 2002-04-30  Juergen Vigna  <jug@sad.it>
11082
11083         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11084         ert compatibility check for "latex" layout.
11085
11086 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11087
11088         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11089         minipages: use col% instead of p%, and also use the current font.
11090         (makeLaTeXFile): Fix use babel condition.
11091         (parseSingleLyXformat2Token): Correct font when reading old floats.
11092
11093 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11094
11095         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11096         inserting list of floats.
11097
11098 2002-04-25  Herbert Voss  <voss@lyx.org>
11099
11100         * MenuBackend.C (expand): don't add the graphics extensions to the
11101         export menu
11102
11103 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11104
11105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11106         non-existing layout, do not complain if it was the default layout
11107         of the original class (bug #342)
11108
11109 2002-04-24  Juergen Vigna  <jug@sad.it>
11110
11111         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11112         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11113
11114 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11115
11116         * buffer.C (getBibkeyList): If using \bibliography, return the
11117         option field with the reference itself. Enables us to provide natbib
11118         support when using \bibliography.
11119
11120 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11121
11122         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11123
11124         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11125         natbib is provided by the LaTeX class.
11126
11127 2002-04-23  Juergen Vigna  <jug@sad.it>
11128
11129         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11130         Wakeup functions.
11131
11132         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11133
11134 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11135
11136         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11137
11138         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11139         ensuremath around textordmasculine, textordfeminine and
11140         textdegree.
11141
11142 2002-04-19  Juergen Vigna  <jug@sad.it>
11143
11144         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11145         reinitializing the buffer otherwise row-dimensions may be wrong.
11146         (update): reset also the selection cursors if they do exits otherwise
11147         their x/y positions may be wrong.
11148
11149         * text2.C (cursorDown): don't enter the inset if we came from a row
11150         above and are one row over the inset.
11151
11152         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11153         really leaving an inset.
11154
11155 2002-04-18  Juergen Vigna  <jug@sad.it>
11156
11157         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11158         of the selected paragraph does not have the selected layout also if
11159         the last one had!
11160
11161         * text2.C (setLayout): fixed bug which did not change last selected
11162         paragraph.
11163
11164         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11165         changed the read and substituted \\end_float with \\end_inset!
11166
11167         * BufferView_pimpl.C (cursorPrevious):
11168         (cursorNext): fixed to make it work with rows heigher than the work
11169         area without moving the cursor only the draw of the row.
11170         (workAreaMotionNotify): fix jumping over high rows.
11171
11172 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11175         Ressler.
11176
11177 2002-04-16  Juergen Vigna  <jug@sad.it>
11178
11179         * text2.C (setCursor): set also the irow().
11180         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11181         (cursorUp):
11182         (cursorDown): support for locking an inset if the x_fix value goes
11183         inside it. That way I can transverse insets too with cursor up/down.
11184
11185         * lyxrow.h: added irow helper function same as other (i) functions.
11186
11187         * BufferView_pimpl.C (cursorPrevious):
11188         (cursorNext): fixed for insets!
11189
11190 2002-04-15  Juergen Vigna  <jug@sad.it>
11191
11192         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11193         position otherwise it is wrong in some cases.
11194
11195         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11196         inside the inset before the call.
11197
11198 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11199
11200         * buffer.[Ch] (getBibkeyList): make it const.
11201
11202 2002-04-12  Juergen Vigna  <jug@sad.it>
11203
11204         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11205
11206         * text2.C (getCursorX): new helper function
11207         (setCursor): compute also ix_
11208         (setCursorFromCoordinates): set also ix.
11209
11210         * lyxcursor.h: added ix_ and helper functions.
11211
11212         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11213
11214         * buffer.C (insertStringAsLines): dont break paragraph if the this
11215         paragraph is inside an inset which does not permit it!
11216
11217         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11218         also with no chars on this paragraph.
11219         (paintRowText): only paint stuff if it's inside the workarea!
11220
11221         * paragraph.C (breakParagraph): honor keepempty flag and break the
11222         paragraph always below not above.
11223
11224         * BufferView2.C (unlockInset): update the paragraph layout on inset
11225         unlock as we changed paragraph in such a case.
11226
11227         * lyxfind.C (LyXFind): clear the former selection if not found!
11228
11229         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11230         again called in insertChar().
11231
11232         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11233         an inset which uses the whole row!
11234         (rightMargin): ditto.
11235         (insertChar): force a rebreak if we inserted an inset!
11236
11237 2002-03-28  Herbert Voss  <voss@lyx.org>
11238
11239         * lyxlength.[Ch]: add inBP() to get the right PS-point
11240         units (BigPoint). With inPixels we have rounding errors
11241
11242 2002-04-11  Juergen Vigna  <jug@sad.it>
11243
11244         * text2.C (setCursorFromCoordinates): set iy to the right value.
11245         (setCursor): add check if row->previous exists!
11246
11247         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11248         an old float_type as this was the case in the old code!
11249
11250         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11251
11252         * BufferView2.C (showLockedInsetCursor): use iy
11253         (fitLockedInsetCursor): ditto
11254
11255         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11256         locked insets as there we have the right value now.
11257
11258         * lyxcursor.C: added iy_ variable and iy functions to set to the
11259         baseline of cursor-y of the locked inset.
11260
11261         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11262         (setCursor): fixed for insets which need a full row.
11263
11264         * text.C (rowLastPrintable): don't ignore the last space when before
11265         an inset which needs a full row.
11266         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11267         as last character of a row when before a inset which needs a full row.
11268
11269 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * version.C.in: update date
11272
11273         * text2.C (fullRebreak): try to always return true and see what
11274         happens...
11275
11276 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * MenuBackend.C (expand): use Floating::listName
11279
11280         * FloatList.C (FloatList): add listName argument to the built-in
11281         floats
11282
11283         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11284         text associated with the float.
11285
11286 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11287
11288         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11289
11290 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11291
11292         * ShareContainer.h: add a couple of missing typenames.
11293
11294 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11295
11296         * lyxrc.C (getDescription): use _() correctly rather than N_().
11297
11298 2002-03-28  Herbert Voss  <voss@lyx.org>
11299
11300         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11301         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11302
11303 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11306         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11307
11308 2002-03-29  Juergen Vigna  <jug@sad.it>
11309
11310         * lyxfunc.C (dispatch): add a missing fitCursor call.
11311
11312         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11313         it was scrolled by a cursor move, so return the bool status.
11314
11315         * BufferView.C (fitCursor): return the bool flag also to the outside
11316         world as this is needed.
11317
11318         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11319
11320         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11321         call the edit() as it is not needed (and wrong) IMO.
11322         (workAreaButtonPress): set the screen_first variable before evt.
11323         unlock the inset as this may change screen_first and then we have
11324         a wrong y position for the click!
11325
11326 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11327
11328         * MenuBackend.C (expand): another translation that I missed
11329
11330 2002-03-28  Juergen Vigna  <jug@sad.it>
11331
11332         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11333
11334         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11335
11336 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11337
11338         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11339
11340         * MenuBackend.C (expand): fix export/view/update when there is no
11341         document open.
11342
11343 2002-03-27  Herbert Voss  <voss@lyx.org>
11344
11345         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11346         and text%
11347
11348 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11349
11350         * bufferview_funcs.C (currentState): only show paragraph number
11351         for is DEVEL_VERSION is set.
11352
11353         * lyxfunc.C (dispatch): put warning in INFO channel
11354
11355         * MenuBackend.C (expand): translate the name of floats
11356
11357         * FloatList.C (FloatList): mark the float names for translation
11358
11359         * converter.C (convert): use LibScriptSearch
11360
11361 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11362
11363         * MenuBackend.C (defaults): fix default menu (we might as well get
11364         rid of it...)
11365
11366 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11367
11368         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11369         directory.
11370
11371 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11372
11373         * lyxvc.C: reorder includes.
11374
11375 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11376
11377         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11378           properly
11379
11380 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11381
11382         * CutAndPaste.C: change layouts earlier on paste
11383           to avoid crashing when calling getFont()
11384
11385 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11386
11387         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11388         irritating #error.
11389
11390 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11391
11392         * WorkArea.C: remove 'Pending' debug message.
11393
11394         * most files: ws cleanup
11395
11396         * buffer.[Ch]: ws changes
11397
11398         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11399
11400 2002-03-21  Juergen Vigna  <jug@sad.it>
11401
11402         * tabular.C (SetMultiColumn): collapse also the contents of the
11403         cells and set the last border right. Added a Buffer const * param.
11404
11405 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11408         linking or not.
11409
11410 2002-03-19  Juergen Vigna  <jug@sad.it>
11411
11412         * text2.C (clearSelection): reset also xsel_cache.
11413
11414         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11415         where it needs to be called (John tells us to do so too :)
11416         (selectionLost): reset sel_cache.
11417
11418         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11419
11420 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11421
11422         * text2.C (setCursorIntern): put debuging code in INSETS channel
11423
11424 2002-03-19  André Pönitz <poenitz@gmx.net>
11425
11426         * lyxfunc.C: tiny whitespace change
11427
11428 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11429
11430         * ToolbarDefaults.C (init):
11431         * LyXAction.C (init):
11432         * commandtags.h:
11433         * BufferView_pimpl.C (Dispatch):
11434         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11435
11436 2002-03-19  Allan Rae  <rae@lyx.org>
11437
11438         * exporter.C (Export): removeAutoInsets before doing anything else.
11439         While I've just introduced a dependency on BufferView this really is
11440         the best place to clean the buffer otherwise you need to cleanup in
11441         a dozen places before calling export or cleanup in a dozen functions
11442         that export calls.
11443
11444         * converter.C (runLaTeX):
11445         (scanLog): Better handling of removeAutoInsets and screen updates.
11446
11447         * lyxfunc.C (dispatch): small whitespace changes
11448
11449 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * WorkArea.C (C_WorkAreaEvent): return a value.
11452         (event_cb): return 1 if we handled the event, 0 otherwise.
11453
11454         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11455
11456 2002-03-18  Juergen Vigna  <jug@sad.it>
11457
11458         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11459         (GetAdditionalWidth): ditto.
11460         (RightLine): ditto.
11461         (LeftLine): ditto.
11462
11463         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11464         inset if we're there actually (probably not used right now but this
11465         is the direction to go for unifying code).
11466         (paste): disable code to clear the selection.
11467
11468         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11469         inside an InsetText and move the check further up as it is in the
11470         wrong place.
11471
11472         * text2.C (pasteSelection): set a selection over the pasted text.
11473
11474 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11475
11476         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11477         and libgraphics to build on Cygwin.
11478
11479 2002-03-15  Juergen Vigna  <jug@sad.it>
11480
11481         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11482         inserting an Inset into the paragraph. I know this is not the best
11483         fix but we already use current_view in CutAndPaste so we will remove
11484         all of it's using at the same time.
11485
11486         * buffer.C (sgmlError): deactivated function till it is rewritten in
11487         the right mode, now it can create problems.
11488
11489         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11490         before accessing it.
11491
11492 2002-03-14  Juergen Vigna  <jug@sad.it>
11493
11494         * undo_funcs.C (textHandleUndo): do the right thing when updating
11495         the inset after the undo/redo.
11496
11497         * text2.C (setCursor): just some testcode for #44 not ready yet.
11498
11499         * undo_funcs.C (textHandleUndo): set the next() and previous()
11500         pointers of the paragraph to 0 before deleting otherwise we have
11501         problems with the Paragraph::[destructor].
11502
11503         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11504         on a paragraph insertion.
11505
11506 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * buffer.C (asciiParagraph): use += operator for char append to
11509         string.
11510
11511         * paragraph.C (getFontSettings): compare >= not just >
11512         (highestFontInRange): ditto
11513         (setFont): ditto
11514
11515 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11516
11517         * paragraph.C: change several algorithm to be more appripriate for
11518         the problem domain. This is lookip in FontList and in the InsetList.
11519
11520 2002-03-13  André Pönitz <poenitz@gmx.net>
11521
11522         * commandtags.h:
11523         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11524
11525 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11526
11527         * commandtags.h:
11528         * LyXAction.C:
11529         * lyxfunc.C:
11530         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11531
11532 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * Painter.C (display): anon helper function, adjust code for this
11535         change.
11536         (pixmap): remove function.
11537
11538         * Painter.h: remove private display variable.
11539
11540         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11541
11542 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11543
11544         * WorkArea.[Ch]: remove figinset_canvas cruft.
11545
11546 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * lyxtextclass.C (operator): add one item cache optimization.
11549
11550         * bufferlist.h: doxy changes
11551
11552         * bufferlist.C: ws changes
11553
11554         * DepTable.[Ch] (ext_exist): place const in the right spot.
11555
11556         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11557         call resizeInsets.
11558         (workAreaExpose): call resizeInsets when the with BufferView changes.
11559         (Dispatch): adjust for protectedBlank removal
11560         (specialChar): call updateInset if the insert went ok.
11561
11562         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11563         specialChar instead.
11564
11565         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11566
11567         * BufferView.h: doxy change
11568
11569         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11570
11571         * lyxtextclass.C (operator[]): remove non-const version
11572         (defaultLayout): remove non-const version
11573
11574 2002-03-12  Juergen Vigna  <jug@sad.it>
11575
11576         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11577         did resize the LyXText too.
11578
11579         * buffer.C (readLyXformat2): set layout information on newly allocated
11580         paragraphs.
11581
11582         * tabular.C (OldFormatRead): set layout information on the paragraph.
11583
11584 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11585
11586         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11587
11588 2002-03-11  Juergen Vigna  <jug@sad.it>
11589
11590         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11591         plainly wrong.
11592         (resizeCurrentBuffer): force also the insets to resize themselfes.
11593         (moveCursorUpdate): fixed up for InsetText.
11594
11595 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11596
11597         * commandtags.h:
11598         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11599         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11600         value of Dialogs::tooltipsEnabled().
11601         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11602
11603 2002-03-08  Juergen Vigna  <jug@sad.it>
11604
11605         * BufferView_pimpl.C (updateInset): update inset inside inset also
11606         if it isn't inside theLockingInset().
11607
11608 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * buffer.C (asciiParagraph): redo some of the word and line length
11611         handling.
11612         (getLists): look for Caption instead of caption.
11613
11614 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * buffer.C (Buffer): initialize niceFile to true
11617         (makeLaTeXFile):
11618         (makeLinuxDocFile):
11619         (makeDocBookFile): make sure niceFile is true on exit
11620
11621 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11622
11623         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11624
11625 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11626
11627         * LyXSendto.C: remove.
11628         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11629         * lyx_gui.C: remove now-redundant comment.
11630         * ColorHandler.h: remove forward declaration of class WorkArea.
11631         * lyxfunc.C: remove #include "WorkArea.h".
11632
11633 2002-03-07  Juergen Vigna  <jug@sad.it>
11634
11635         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11636         got moved away with the DEPM and also set the inset_owner always
11637         right which before could have been omitted.
11638
11639 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11642         wanted layout is not found.
11643
11644 2002-03-07  Juergen Vigna  <jug@sad.it>
11645
11646         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11647
11648 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11649
11650         * paragraph.C (breakParagraph): use default layout not layout of
11651         prev paragraph.
11652         (Paragraph): clear ParagraphParameters.
11653
11654 2002-03-06  Juergen Vigna  <jug@sad.it>
11655
11656         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11657         otherwise it would not be a valid lenght. Fixed a special case in
11658         the minipage compatibility read where we end the document with a
11659         minipage.
11660
11661         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11662         was set as it could be 0 for InsetTexts first entry.
11663
11664 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * paragraph.C (writeFile): if layout is empty write out
11667         defaultLayoutName().
11668
11669         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11670         file without named layout we set layout to defaultLayoutName().
11671
11672 2002-03-06  Juergen Vigna  <jug@sad.it>
11673
11674         * CutAndPaste.C (copySelection): set layout for new paragraph.
11675
11676         * text.C (prepareToPrint): leave ERT inset left aligned
11677         (leftMargin): don't indent paragraphs inside ERT insets
11678
11679 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11680
11681         * paragraph.C (breakParagraph): dont call clear do the work manually
11682
11683         * paragraph.[Ch] (clear): remove function
11684
11685 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11686
11687         * paragraph.C (Paragraph): dont call clear, the work has already
11688         been done.
11689
11690         * lyxtextclass.C (operator): assert if n is empty
11691
11692         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11693         work manually instead.
11694
11695 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11696
11697         * BufferView_pimpl.C: protect selectionLost against text == 0
11698
11699 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * text.C (breakParagraph): fix a setting layout to '0' problem.
11702
11703 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11704
11705         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11706         final location of file, for the included files, and graphics.
11707
11708 2002-03-05  Juergen Vigna  <jug@sad.it>
11709
11710         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11711
11712 2002-03-04  Juergen Vigna  <jug@sad.it>
11713
11714         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11715
11716         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11717         last column of multicolumn cells.
11718         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11719
11720 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11721
11722         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11723         file if it doesn't go to a temporary file.
11724
11725         * buffer.C (sgmlOpenTag):
11726         (sgmlCloseTag):  remove extra newline insertion.
11727
11728 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11729
11730         * text.C (getRowNearY): comment out debug msg
11731
11732 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11733
11734         * text2.C: first -> first_y
11735
11736         * text.C (getRowNearY): add some attemts at a possible
11737         optimization, not working.
11738
11739         * tabular.[Ch]: add BufferParams to several function so that newly
11740         created paragraph can be initialized to he default layotu for the
11741         buffers textclass.
11742
11743         * tabular-old.C (ReadOld): add buf->params to call of Init
11744
11745         * screen.C: rename text->first to text->first_y
11746
11747         * paragraph.C (breakParagraph): always set layout in the broken
11748         paragraph
11749
11750         * lyxtextclass.C (Read): remove lowercase
11751         (hasLayout): ditto
11752         (operator): ditto
11753         (delete_layout): ditto
11754
11755         * lyxtext.h: rename first -> first_y
11756
11757         * lyxlayout.C (Read): remove lowercase
11758         (name): ditto
11759         (setName): ditto
11760         (obsoleted_by): ditto
11761
11762         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11763
11764         * buffer.C (insertErtContents): add params are to InsetERT
11765         (parseSingleLyXformat2Token): add code to check if a paragraphs
11766         layout really exist.
11767         (parseSingleLyXformat2Token): add params to several inset
11768         constructors
11769         (asciiParagraph): remove lowercase, do the layout comparisons with
11770         no_case
11771
11772         * BufferView_pimpl.C (cursorNext): first -> first_y
11773         (resizeCurrentBuffer): first -> first_y
11774         (updateScrollbar): first -> first_y
11775         (scrollCB): first -> first_y
11776         (workAreaMotionNotify): first -> first_y
11777         (workAreaButtonPress): first -> first_y
11778         (checkInsetHit): first -> first_y
11779         (cursorPrevious): first -> first_y
11780         (cursorNext): first -> first_y
11781         (Dispatch): add buffer_->params to severl inset contructors
11782
11783 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11784
11785         * lyxlayout.C (Read): remove some debug info that I forgot.
11786
11787         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11788         clean up the code slightly.
11789         (makeLinuxDocFile): ditto
11790         (makeDocBookFile): ditto
11791
11792         * text2.C: layout as string
11793
11794         * text.C: layout as string
11795
11796         * paragraph_pimpl.C: layout as string
11797
11798         * paragraph.[Ch]: layout as string
11799
11800         * lyxtextclasslist.[Ch]: layout as string
11801
11802         * lyxtextclass.[Ch]: layout as string
11803
11804         * lyxtext.h: layout as string
11805
11806         * lyxlayout.[Ch]: layout as string
11807
11808         * lyx_cb.C: layout as string
11809
11810         * bufferview_funcs.C: layout as string
11811
11812         * bufferparams.C: layout as string
11813
11814         * buffer.C: layout as string
11815
11816         * LyXView.[Ch]: layout as string
11817
11818         * LaTeXFeatures.[Ch]: layout as string
11819
11820         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11821
11822         * BufferView_pimpl.C: change current_layout to string, remove
11823         lyx::layout_type.
11824         (Dispatch):
11825         (smartQuote):
11826         (insertInset):
11827         (workAreaButtonRelease): layout as string
11828
11829         * BufferView2.C (unlockInset): adjust
11830
11831         * vspace.C (asLatexCommand): use an explict temp variable.
11832
11833 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * Makefile.am: use FRONTEND_*
11836
11837 2002-03-01  Juergen Vigna  <jug@sad.it>
11838
11839         * tabular.C (SetWidthOfMulticolCell): changed to something better
11840         I hope but still work in progress.
11841         (recalculateMulticolumnsOfColumn): renamed function from
11842         recalculateMulticolCells as it is more appropriate now.
11843         (SetWidthOfCell): calculate multicols better.
11844
11845 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11848
11849         * lyxfunc.C (processKeySym): print sequence also if it is
11850         `deleted' (complete)
11851
11852         * kbsequence.C (print): print sequence even if it is deleted
11853         (complete would be a better word, actually).
11854
11855         * lyxfunc.C (dispatch): print complete options after a prefix key
11856
11857         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11858
11859 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11860
11861         * text2.C (setCharFont): eliminate setCharFont code duplication.
11862
11863 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11864
11865         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11866         LFUN_TABULAR_FEATURE (bug #177)
11867
11868 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11869
11870         * Makefile.am: remove figure.h
11871
11872 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11873
11874         * Bufferview_pimpl.C:
11875         * CutAndPasteC:
11876         * LaTeX.C:
11877         * LyXSendto.C:
11878         * buffer.C:
11879         * bufferlist.C:
11880         * converter.C:
11881         * language.C:
11882         * lyxfunc.C:
11883         * lyxvc.C:
11884         * paragraph.C:
11885         * text.C:
11886         * text2.C: remove #include "lyx_gui_misc.h".
11887
11888         * LaTeX.C: added #include <cstdio>
11889
11890 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11891
11892         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11893         that the paragraph following this one can have.
11894
11895         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11896
11897         * vspace.C (asLatexCommand): fix bogus gcc warning
11898
11899         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11900
11901 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11902
11903         * text2.C (setLayout): get rid of redundant code
11904
11905 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11906
11907         * text2.C (incDepth): make sure depth cannot be increased beyond
11908         reasonable values.
11909
11910 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11911
11912         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11913         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11914
11915         * PainterBase.h (image):
11916         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11917         a LyXImage const *.
11918
11919 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * BufferView.C:
11922         * BufferView.h:
11923         * BufferView_pimpl.C:
11924         * BufferView_pimpl.h:
11925         * LaTeXFeatures.C:
11926         * LyXAction.C:
11927         * LyXView.C:
11928         * Makefile.am:
11929         * UpdateList.h:
11930         * UpdateList.C:
11931         * buffer.C:
11932         * figure.h:
11933         * figureForm.C:
11934         * figureForm.h:
11935         * figure_form.C:
11936         * figure_form.h:
11937         * lyx_cb.C:
11938         * lyx_gui.C:
11939         * lyx_gui_misc.C:
11940         * lyxfunc.C:
11941         * sp_base.h:
11942         * sp_ispell.h:
11943         * sp_pspell.h:
11944         * sp_spell.C: remove fig inset, and the crap house of
11945           cards that follows it
11946
11947 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * Makefile.am:
11950         * lyxserver.C:
11951         * os2_defines.h:
11952         * os2_errortable.h:
11953         * nt_defines.h: move .h into support/
11954
11955         * vms_defines.h: remove
11956
11957         * WorkArea.C: add space in debug output
11958
11959         * text2.C:
11960         * paragraph.C:
11961         * buffer.C: add WITH_WARNINGS
11962
11963         * vc-backend.h:
11964         * vc-backend.C:
11965         * bufferlist.C: s/retrive/retrieve/, add docs
11966
11967         * vspace.h:
11968         * vspace.C:
11969         * kbmap.h:
11970         * lyxlength.h:
11971         * lyxgluelength.h:
11972         * length_common.h:
11973         * chset.h:
11974         * chset.C: add docs
11975
11976         * lyxgui.C: add ID to X error handler
11977
11978         * lyxtestclass.c: fix typo
11979
11980 2002-02-26  Juergen Vigna  <jug@sad.it>
11981
11982         * tabular_funcs.C (write_attribute): changed so that some default
11983         attributes are not written at all.
11984         (getTokenValue): set default values before trying to read the
11985         value so we have the return value always set as default if we don't
11986         find the token we search for.
11987
11988         * tabular.C (Write): write bools as bools not as strings!
11989
11990 2002-02-22  Juergen Vigna  <jug@sad.it>
11991
11992         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11993         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11994
11995         * text.C (leftMargin): don't add an indent for paragraphs inside
11996         tabular cells (fix #208).
11997
11998 2002-02-21  José Matos  <jamatos@fep.up.pt>
11999
12000         * tabular.C (docBook): fixed support for long tables.
12001
12002 2002-02-20  Juergen Vigna  <jug@sad.it>
12003
12004         * text2.C (getFont): get the drawing font of the Inset if this
12005         paragraph is inside an inset (only important for InsetERT for now).
12006
12007         * buffer.C (insertErtContents): use new lanugage params in ERT
12008         constructor.
12009
12010         * CutAndPaste.C: commenting out seemingly uneeded code.
12011
12012 2002-02-19  Allan Rae  <rae@lyx.org>
12013
12014         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12015         Iterators might be simple to use but they also get invalidated.
12016         (removeAutoInsets): renamed saved cursor tracking variables and added
12017         some comments to clarify what everything does.
12018
12019 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * Chktex.C:
12022         * LaTeX.C:
12023         * LyXSendto.C:
12024         * converter.C:
12025         * lyx_cb.C:
12026         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12027         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12028
12029         * lyxfunc.C:
12030         * vc-backend.h: remove #include "support/syscall.h"
12031
12032         * LaTeX.C:
12033         * LyXSendto.C:
12034         * converter.C: rearrange #includes in Lars' approved fashion.
12035
12036         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12037         forward declare class Timeout in the header file.
12038
12039         * XFormsView.C: changes due to the above.
12040
12041         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12042         similar to LyXView.
12043
12044         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12045         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12046
12047 2002-02-18  José Matos  <jamatos@fep.up.pt>
12048
12049         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12050         insets contents.
12051
12052 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12053
12054         * a lot of small ws changes
12055         * add a lot of using std::XXX
12056         * use std construcs some places where approp.
12057         * use some exisint stuff from lyxfunctional where approp.
12058         * Make file changes to use partial linking (lets test this now...)
12059
12060 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12061
12062         * Chktex.C:
12063         * buffer.C:
12064         remove #include "support/syscontr.h" as it's redundant. Always has been.
12065
12066         * Chktex.C:
12067         * LaTeX.C:
12068         * LyXSendto.C:
12069         * converter.C:
12070         * lyx_cb.C:
12071         * vc-backend.C:
12072         change Systemcalls::System to Systemcalls::Wait and
12073         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12074         No change of functionality, just reflects the stripped down Systemcalls
12075         class.
12076
12077 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12078
12079         * debug.[Ch]: add a GRAPHICS type to the enum.
12080
12081 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12084
12085         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12086         there is an inset.
12087
12088 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12089
12090         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12091         match the changes below.
12092
12093         * text2.C (toggleInset): if there is not editable inset at cursor
12094         position, try to see if cursor is _inside_ a collapsable inset
12095         and close it.
12096
12097 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12098
12099         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12100         document menu has a nice checkbox
12101
12102 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * lyxlength.C (asLatexString): change PW to output as percent of
12105         \textwidth.
12106
12107         * lengthcommon.C: change '%' to 't%'
12108
12109         * lyxfunc.C (dispatch): a few comments from Martin
12110
12111 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * WorkArea.h:
12114         * WorkArea.C:
12115         * BufferView_pimpl.h:
12116         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12117           the X selection.
12118
12119 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12120
12121         * vspace.C (inPixels): fix compiler warning
12122
12123 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12124
12125         * lyxfunc.C (getStatus): fix status message for disabled commands.
12126
12127 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * BufferView_pimpl.C: fix crash on close buffer
12130         during selection (#227)
12131
12132 2002-01-27  Herbert Voss  <voss@lyx.org>
12133
12134         * buffer.C: link old Figure to new graphic inset
12135
12136 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12137
12138         * FontLoader.C (getFontinfo): Change the latex font names in order
12139         to match the names of type1inst.
12140
12141 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12144
12145         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12146         (extchanged): ditto
12147         (ext_exist): ditto
12148         (remove_files_with_extension): ditto
12149         (remove_file): ditto
12150         (write): ditto
12151
12152         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12153         document is smaller than the work area height. Do not initialize
12154         static variables to 0.
12155
12156 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12157
12158         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12159
12160         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12161         LFUN_LAYOUT_PARAGRAPHS.
12162
12163         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12164         tabular. It is possible to provide a possible cell, which will
12165         typically be the actcell from the corresponding insettabular
12166
12167         * lyxfunc.C (getStatus): small cleanup; disable
12168         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12169         true
12170
12171 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12172
12173         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12174
12175         * paragraph.C (startTeXParParams):
12176         (endTeXParParams): new methods. The LaTeX code to
12177         start/end paragraph formatting
12178         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12179         empty (fixes bug #200)
12180
12181         * vspace.C (inPixels): adapt to the change below
12182         (inPixels): [later] more cleanups (remove unused variables)
12183
12184         * lyxlength.C (inPixels): change to use a width and a height as
12185         parameter.
12186
12187 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12188
12189         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12190         Replaced with \paperwidth
12191
12192         * DepTable.C (insert): add std:: qualifier
12193
12194 2002-01-18  Allan Rae  <rae@lyx.org>
12195
12196         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12197         updated also?
12198
12199         * text.C (drawInset): Turned out I didn't know enough about how
12200         rebreaking worked.  This fixes most of the redraw problems.  I see
12201         an occasional cursor trail when a line is broken now and the cursor
12202         placement can seem out by a few pixels also after a rebreak.
12203
12204 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12205
12206         * buffer.C (parseSingleLyXformat2Token): update because minipage
12207         width is now a LyXLength
12208
12209         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12210
12211         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12212         math insets
12213
12214 2002-01-17  Juergen Vigna  <jug@sad.it>
12215
12216         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12217
12218         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12219         is set correctly and the inset is updated correctly.
12220
12221 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12222
12223         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12224         the beginning of the loop.
12225
12226 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * lyxrc.C: improve help for use_scalable_fonts
12229
12230 2002-01-17  Allan Rae  <rae@lyx.org>
12231
12232         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12233
12234 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12237         make sure to set their inset_owner to the right value (bug #171)
12238
12239 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12240
12241         * DepTable.h
12242         * DepTable.C: Implement mtime checking to reduce time spent doing
12243         CRCs.
12244
12245 2002-01-16  Juergen Vigna  <jug@sad.it>
12246
12247         * tabular.C (GetAdditionalHeight): one of error fixed.
12248
12249         * lyxrc.C (output): small fix in writing use_pspell.
12250
12251 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12252
12253         * sp_base.h: #include LString.h
12254
12255 2002-01-16  Allan Rae  <rae@lyx.org>
12256
12257         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12258         Can someone check this please?
12259
12260         * text.C (drawInset): It was possible that p.row would be removed by
12261         breakAgainOneRow upsetting a few other settings.  There may be another
12262         small tweak possible by setting need_break_row = 0 when p.row has been
12263         removed but I don't know enough about the logic here.
12264
12265 2002-01-15  Allan Rae  <rae@lyx.org>
12266
12267         * text.C (insertChar): removed conditional truism.
12268
12269         * BufferView2.C (removeAutoInsets): More tweaks.
12270         cur_par_prev could be a stray pointer.  Check for trailing empty line
12271         in case last line was cur_par and only had an error inset on it.
12272
12273 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12274
12275         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12276         absolute
12277
12278         * vc-backend.C (most methods):
12279         * exporter.C (Export):
12280         * converter.C (convert):
12281         (runLaTeX):
12282         * LyXSendto.C (SendtoApplyCB):
12283         * lyxfunc.C (dispatch):
12284         (menuNew):
12285         (open):
12286         (doImport):
12287         * lyx_cb.C (AutoSave):
12288         (InsertAsciiFile):
12289         * BufferView_pimpl.C (MenuInsertLyXFile):
12290         * buffer.C (runChktex): use Buffer::filePath().
12291
12292         * buffer.h: rename filename to filename_; rename filepath to
12293         filepath_ and make it private
12294         (filePath): new method
12295
12296         * buffer.C (writeFile): use fileName()
12297         (getLatexName):
12298
12299         * lyx_main.C (init): fix starting  of LyX when the binary is a
12300         link from so,ewhere else.
12301
12302         * minibuffer.C: include <cctype> for isprint
12303
12304 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12305
12306         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12307         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12308         name clash with InsetCollapsable's width function.
12309
12310 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12311
12312         * lastfiles.C: include <iterator>
12313
12314 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12315
12316         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12317         std::count.
12318
12319         * buffer.C (makeLaTeXFile): ditto.
12320         Also make loop operation more transparent.
12321
12322 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12323
12324         * ToolbarDefaults.C: remove trailing comma closing namespace.
12325
12326         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12327
12328         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12329         as in WorkArea.
12330
12331         * trans.C (Load): comment out unused variable, allowed.
12332
12333 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12334
12335         * minibuffer.[Ch] (append_char): new method to recieve input from the
12336         drop-down completion browser. If a key was pressed, then recieve this
12337         char and append it to the existing string.
12338         (peek_event): modify the positioning data passed to the completion
12339         browser so that it can be placed above the minibuffer rather than below.
12340 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * LyXAction.C (init): alloe error-next for readonly documents.
12343
12344         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12345         count.
12346
12347 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12348
12349         * bufferlist.C (readFile): create the buffer _after_ checking that
12350         the file exists.
12351
12352         * lyxfunc.C (verboseDispatch): fix handling of arguments
12353
12354         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12355
12356         * lyxrc.C: use string::erase() instead of initializing to "".
12357
12358
12359 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12360
12361         * BufferView_pimpl.h:
12362         * BufferView_pimpl.C:
12363         * WorkArea.h:
12364         * WorkArea.C:
12365         * text2.C: tell X when we have made a selection for copying
12366
12367 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12368
12369         * BufferView_pimpl.C (MenuInsertLyXFile):
12370         * lyxfunc.C (menuNew):
12371         (open):
12372         (doImport): add shortcuts to directory buttons
12373
12374         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12375         open a float)
12376
12377         * lyxfunc.C (setStatusMessage):
12378         (getStatusMessage): new methods
12379         (getStatus):use setStatusMessage instead of setErrorMessage
12380         (dispatch): when function is disabled, set error message here
12381         [instead of in getStatus previously]
12382
12383         * BufferView_pimpl.C (workAreaButtonRelease): update
12384         toolbar/menubar here too.
12385
12386 2002-01-13  Allan Rae  <rae@lyx.org>
12387
12388         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12389         Now seems indestructible.  Remaining task is to audit all other
12390         code affected by deleteEmptyParagraphMechanism.  One small quirk
12391         left is that an empty document with an error in the preamble can
12392         be made to report an error but no error box appears.  I don't know
12393         where it goes.
12394         (removeAutoInsets): Improved comments.
12395
12396 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * Thesaurus.h:
12399         * Thesaurus.C: update for Aiksaurus 0.14
12400
12401 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12402
12403         * text2.C (firstParagraph): removed member function, all uses
12404         replaces with ownerParagraph
12405         (redoParagraphs): here
12406         (updateInset): here
12407         (toggleAppendix): here
12408         * BufferView2.C (insertErrors): here
12409         (setCursorFromRow): here
12410
12411 2002-01-13  Allan Rae  <rae@lyx.org>
12412
12413         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12414         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12415         There is still a way to segfault this although you may have to do this
12416         multiple times: Have an InsetERT with an unknown command in it.
12417         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12418         <down-arrow>, <Enter> again, View->DVI, BANG!
12419
12420         * text2.C (setCursor):
12421         (deleteEmptyParagraphMechanism):
12422         * lyxtext.h (setCursor):
12423         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12424         Making use of the return value may help fix other bugs.
12425
12426 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12427
12428         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12429
12430         * LyXView.C (updateMenubar): call MenuBar::update here
12431         (updateToolbar): but not here
12432         (showState): do not update toolbar/menubar
12433
12434         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12435         should need to care about that.
12436
12437         * lyxfunc.C (verboseDispatch): simplify a bit
12438         (getStatus): have a version which takes a pseudoaction, and
12439         another which requires a (kb_action,string).
12440
12441         * LyXAction.C (retrieveActionArg): make it work also when action
12442         is not a pseudo-action.
12443         (getActionName): simplify a bit
12444         (helpText):
12445
12446 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12447
12448         * lyxfunc.C (verboseDispatch): new families of methods with
12449         several ways to specify a command and a bool to indicate whether
12450         the command name and shortcut should be displayed in minibuffer
12451         (eventually, we could extend that to a finer bitmask like
12452         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12453         (dispatch): the pristine dispatch command which just, well,
12454         dispatchs! Note it still sets its result to minibuffer; I'm not
12455         sure we want that.
12456
12457         * lyxfunc.h: remove setHintMessage
12458
12459         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12460
12461 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * BufferView_pimpl.C (specialChar): delete new inset if we have
12464         not been able to insert it.
12465
12466         * kbmap.C: revert to using int instead of kb_action, since all we
12467         are dealing with is pseudo-actions.
12468
12469         * LyXAction.C (searchActionArg): change to return int instead of
12470         kb_action, since the result is a pseudoaction.
12471
12472 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12473
12474         * buffer.C (insertErtContents): Fix (partially) the font bug.
12475
12476 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12477
12478         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12479         as the other one is broken on my machine!
12480
12481 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12482
12483         * commandtags.h:
12484         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12485
12486 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12487
12488         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12489         reflect their actual use. Provide compatibility code for older lyxrc
12490         files.
12491
12492         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12493         FL_NORMAL_STYLE.
12494         change names of popup font variables in line with the changes to lyxrc.C
12495
12496 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * buffer.C (asciiParagraph): avoid outputing a word twice after
12499         an inset.
12500
12501         * lyxrc.C (getDescription): document that document_path and
12502         template_path can be empty.
12503
12504 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12505
12506         * LaTeXFeatures.C (getMacros):
12507         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12508
12509         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12510
12511         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12512         getPackages.
12513         (getPackages): rename feature "floats" to "float". Use an array to
12514         iterate over 'simple' features (i.e. just a \usepackage). Add
12515         handling of "amsmath" (renamed from "amsstyle").
12516
12517 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12518
12519         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12520         features list.
12521
12522 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12523
12524         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12525         FuncStaus::FuncStatus & FuncStaus::some_method().
12526
12527 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12528
12529         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12530         of the func_satus stuff. Edited and massaged in various ways by
12531         JMarc.
12532
12533         * lyxfunc.C (getStatus): use FuncStatus
12534
12535 2002-01-08  Juergen Vigna  <jug@sad.it>
12536
12537         * text.C (nextBreakPoint): use function Inset::isChar().
12538
12539         * paragraph.C (TeXOnePar): use function
12540         Inset::forceDefaultParagraphs.
12541
12542         * buffer.C (latexParagraphs): use function
12543         Inset::forceDefaultParagraphs.
12544
12545 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12546
12547         * lyx_gui.C (init): set the style of the menu popups to
12548         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12549
12550 2002-01-07  Juergen Vigna  <jug@sad.it>
12551
12552         * text.C (setHeightOfRow): small fix
12553         (prepareToPrint): don't look at alignment if we don't have the place
12554         for doing it.
12555
12556 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12557
12558         * box.C: New file. Move the Box methods and functions out of box.h,
12559         following Lars' suggestion.
12560
12561 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12562
12563         * box.h: #include "support/LOstream.h", needed for inlined function.
12564
12565         * lyxtextclass.C:
12566         * lyxtextclasslist.C: added some using std declarations.
12567
12568 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12569
12570         * box.h: make signed dimensions to allow insets wider than
12571           the screen (bug #162)
12572
12573         * BufferView_pimpl.C: add some insetHit debug
12574
12575 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * vc-backend.C: add FIXME
12578
12579 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12580
12581         * lyxfunc.C (getStatus): enable code for showing math font status
12582         in toolbar/menu.
12583
12584 2002-01-07  Juergen Vigna  <jug@sad.it>
12585
12586         * text.C (nextBreakPoint): removed debug output not needed anymore.
12587
12588 2002-01-06  Juergen Vigna  <jug@sad.it>
12589
12590         * text.C (nextBreakPoint): fixed up this function we had this bug
12591         since ever but now hopefully we break row better.
12592         (insertChar): we have to check if an inset is the next char as it
12593         could now happen that a large inset is causing a break.
12594
12595 2002-01-05  Juergen Vigna  <jug@sad.it>
12596
12597         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12598         if it doesn't like to be drawed.
12599
12600 2002-01-04  Juergen Vigna  <jug@sad.it>
12601
12602         * BufferView2.C (lockInset): forgot to set a cursor.
12603
12604         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12605
12606 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12607
12608         * FormMathsPanel.C:
12609         * FormMathsPanel.h
12610         * MathsSymbols.C:
12611         * form_maths_panel.C:
12612         * form_maths_panel.h:
12613         * form_maths_panel.fd: implemented sub- and super- buttons in math
12614         panel.
12615
12616         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12617         (or ^ space) to be used as in TeX (req'd by André).
12618
12619         * lyxfunc.C: Allow ^ and _ again to be used both as
12620         super/subscript (mathed) and as themselves (in text).
12621
12622 2002-01-03  Allan Rae  <rae@lyx.org>
12623
12624         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12625         "LyX" or the filename of the current buffer if it has one.  This is a
12626         modified form of John Levon's patch.
12627
12628         * XFormsView.C (setWindowTitle): also set icon title.
12629
12630         * LyXView.h (setWindowTitle): signature changed.
12631         * XFormsView.h (setWindowTitle): ditto.
12632
12633 2002-01-02  Juergen Vigna  <jug@sad.it>
12634
12635         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12636
12637 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12638
12639         * screen.C (topCursorVisible): introduce a temp var for
12640         text->cursor.row(), handle the case where this row is null. (kindo
12641         hachish)
12642
12643         * text2.C (setCursor): add a couple of asserts.
12644
12645         * paragraph.h (inset_iterator): add -> operator
12646
12647         * paragraph.[Ch] (autoDeleteInsets): remove member function
12648
12649         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12650         cursor pos correctly and handle inset deletion by itself.
12651         (insertErrors): move iterator declaration out of for expression
12652
12653         * lyxtextclass.C: add <algorithm>
12654
12655         * Makefile.am: added the new files to sources, removed layout.C
12656
12657         * layout.C: removed file
12658
12659         * layout.h: remove LYX_DUMMY_LAYOUT
12660
12661         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12662         layout.
12663
12664         * lyxlayout.[Ch]:
12665         * lyxtextclass.[Ch]:
12666         * lyxtextclasslist.[Ch]: new files
12667
12668         * include order changes to a lot of files, also changes because of
12669         the six new files.
12670
12671 2001-12-27  Juergen Vigna  <jug@sad.it>
12672
12673         * buffer.C (asciiParagraph): more fixes.
12674
12675         * tabular.C (ascii): make ascii export support export of only the
12676         data separated by a column-delimiter.
12677         (ascii): better support for ascii export.
12678
12679         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12680
12681 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * tabular_funcs.C: use a "using std::getline" instead of the
12684         previous fix from Angus (necessary for cxx + lyxstring)
12685
12686 2001-12-24  Juergen Vigna  <jug@sad.it>
12687
12688         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12689
12690         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12691         problems. First check a minipage also if we have some ert-contents
12692         (not only on par->size(), second set the right depth of the paragraph
12693         on the relink to the root-paragraph-list!
12694
12695         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12696         which then did not anymore update the main paragraphs on undo/redo!
12697
12698 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12699
12700         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12701         code. Support all font-changing funcs (even those which are not in
12702         menu currently). Support for reporting font settings in
12703         mathed (disabled until Andre provides a function on mathed's side).
12704
12705         * func_status.h (toggle): small helper function to set toggle
12706         state on a flag.
12707
12708 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12709
12710         * tabular_funcs.C: getline -> std::getline
12711
12712 2001-12-21  Juergen Vigna  <jug@sad.it>
12713
12714         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12715         accessed and could be 0 (I couldn't generate this but it seems
12716         Michael could!).
12717
12718 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12721         * tabular_funcs.h: here and include iosfwd
12722
12723 2001-12-20  Juergen Vigna  <jug@sad.it>
12724
12725         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12726         inside inset but undo_par was.
12727
12728 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12729
12730         * Thesaurus.C: always include <config.h> in sources.
12731
12732         * Painter.h:
12733         * lyxlookup.h:
12734         * box.h: do not include <config.h> in header files
12735
12736         * text.C (paintLastRow): remove unused variable
12737
12738         * text.C (transformChar):
12739         (insertChar):
12740         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12741
12742         * Painter.C (text):
12743         * font.C (width): rewrite to use uppercase() instead of
12744         islower/toupper.
12745
12746         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12747
12748 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12749
12750         * lyxfind.C: clean up of find failure position change
12751
12752 2001-12-20  Juergen Vigna  <jug@sad.it>
12753
12754         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12755
12756         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12757         (TeXRow): added to LaTeX a single tabular row.
12758         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12759         (Latex): simplified and finally good LT-h/f support.
12760         (various_functions): just small adaptions for LT-h/f support.
12761
12762         * tabular_funcs.[hC]: added and moved here all not classfunctions
12763         of LyXTabular.
12764
12765 2001-12-19  Juergen Vigna  <jug@sad.it>
12766
12767         * tabular.[Ch]: better support for longtabular options (not finished
12768         yet!)
12769
12770 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12771
12772         * text.C (paintLastRow): use the label font instead of the font of
12773         the last character to compute the size of *_BOX. This makes more
12774         sense and avoids a crash with empty paragraphs.
12775         Use Painter::rectangle to draw EMPTY_BOX.
12776
12777 2001-12-19  Juergen Vigna  <jug@sad.it>
12778
12779         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12780         the paragraphs if the replaced paragraph is not the first one!
12781         Tried to delete not used paragraphs but does not work yet so for
12782         now it's inside #ifdef's and by default off!
12783
12784 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12785
12786         * MenuBackend.C: include "lyx_main.h" instead of declaring
12787         lastfiles (actually was declared as LastFiles* instead of a
12788         scoped_ptr).
12789
12790 2001-12-17  Juergen Vigna  <jug@sad.it>
12791
12792         * tabular.C (AppendColumn): applied John's fix
12793
12794 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * BufferView.h:
12797         * BufferView.C:
12798         * BufferView_pimpl.h:
12799         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12800
12801         * Makefile.am:
12802         * box.h: new start of class for above
12803
12804         * lyxfunc.C: ignore space-only minibuffer dispatches.
12805           Show the command name when it doesn't exist
12806
12807         * minibuffer.C: don't add empty lines to the history
12808
12809         * minibuffer.C: add a space on dropdown completion
12810
12811 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * text.C: fix line above/below drawing in insets
12814
12815 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * lyxlength.C (LyXLength): Initialize private variables.
12818
12819 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12820
12821         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12822         when inserting error insets.
12823
12824 2001-12-13  Juergen Vigna  <jug@sad.it>
12825
12826         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12827         actually sometimes the before-paragraph.
12828         (setUndo): don't clear the redostack if we're not actually undoing!
12829
12830 2001-12-06  Juergen Vigna  <jug@sad.it>
12831
12832         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12833         and fixed redoing of main paragraph, so we can use it now ;)
12834
12835         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12836
12837 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12840         Juergen's request
12841
12842 2001-12-13  André Pönitz <poenitz@gmx.net>
12843
12844         * undostack.[Ch]:
12845         * undo_func.C: minor cleanup
12846
12847 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12848
12849         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12850         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12851         font in urw-fonts package which is marked as -urw-fontspecific and
12852         does not work (incidentally, changing the encoding in the
12853         fonts.dir of this package to -adobe-fontspecific fixes the
12854         problem).
12855
12856         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12857         is a crash when undoing first paragraph (Juergen, please take a
12858         look). THis does not mean the undo fix is wrong, just that it
12859         uncovers problems.
12860
12861         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12862         the (Paragraph*) version when needed instead of duplicating the
12863         code.
12864
12865         * text.C (workWidth): use Inset::parOwner to find out where the
12866         inset has been inserted. This is a huge performance gain for large
12867         documents with lots of insets. If Inset::parOwner is not set, fall
12868         back on the brute force method
12869
12870         * paragraph_pimpl.C (insertInset):
12871         * paragraph.C (Paragraph):
12872         (cutIntoMinibuffer): set parOwner of insets when
12873         inserting/removing them
12874
12875         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12876
12877 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12878
12879         * commandtags.h:
12880         * LyXAction.C:
12881         * lyx_main.C:
12882         * lyxfunc.C:
12883         * mathed/formulabase.C:
12884         * mathed/math_cursor.[Ch]:
12885         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12886
12887
12888 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12889
12890         * lyxlength.[Ch] (operator!=): new function
12891
12892 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12893
12894         * text.C (workWidth): use Inset::parOwner to find out where the
12895         inset has been inserted. This is a huge performance gain for large
12896         documents with lots of insets. If Inset::parOwner is not set, fall
12897         back on the brute force method
12898
12899         * paragraph_pimpl.C (insertInset):
12900         * paragraph.C (Paragraph):
12901         (cutIntoMinibuffer): set parOwner of insets when
12902         inserting/removing them
12903
12904         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12905
12906 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12907
12908         * tabular-old.C (getTokenValue):
12909         * tabular.C (getTokenValue):
12910         (write_attribute): new versions for LyXLength
12911         (everywhere): adjust the use of widths
12912
12913         * tabular.h: change the type of widths from string to LyXLength
12914
12915 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12916
12917         * paragraph.C: fixed missing line number count when exporting
12918         Environments to LaTeX file
12919
12920         * buffer.C: added informational message for checking line numbers.
12921
12922 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12923
12924         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12925         paragraph, do the 'double space' part, but not the 'empty
12926         paragraph' one.
12927
12928         * text.C (workWidth): small optimization
12929         (getLengthMarkerHeight): use minimal size for negative lengths.
12930
12931 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12932
12933         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12934
12935         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12936
12937 2001-12-11  André Pönitz <poenitz@gmx.net>
12938
12939         * FontLoader.C:
12940         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12941
12942 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * text2.C: keep selection on a setFont()
12945
12946 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * lyx_cb.C: another bv->text misuse, from insert label
12949
12950 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * kbsequence.h:
12953         * kbsequence.C: re-instate nmodifier mask
12954
12955 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12956
12957         * lyx_main.h: make lyxGUI private.
12958
12959 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * lyxfind.C: place the cursor correctly on failed search
12962
12963 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12964
12965         * text.C (getLengthMarkerHeight): for small heights, the arrows
12966         are not always on top/bottom of the text
12967         (drawLengthMarker): smaller arrows; take the left margin in
12968         account; draw also vfills.
12969         (paintFirstRow):
12970         (paintLastRow): remove special code for vfill and standard spaces,
12971         since everything is handled in drawLengthMarker now.
12972
12973 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12974
12975         * buffer.C (insertErtContents): try to handle font and language
12976         interaction a bit better.g
12977
12978         * ColorHandler.C (updateColor): change the hash to cover the whole
12979         LColor enum, ws cleanup
12980         (getGCLinepars): ditto
12981         (getGCLinepars): only lookup in the linecache once.
12982
12983 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12984
12985         * iterators.C (operator++): Make the iterator more robust
12986
12987         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12988         (John's patch)
12989         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12990
12991 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12992
12993         * lyxtext.h:
12994         * text.C: better added space drawing
12995
12996 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * LyXView.C:
12999         * BufferView2.C: fix layout combo update on inset unlock
13000
13001 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13002
13003         * Makefile.am: don't compile unused files
13004
13005 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13006
13007         * lyxfunc.C:
13008         * commandtags.h:
13009         * LyXAction.C: remove old LFUN_LAYOUTNO
13010
13011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13012
13013         * paragraph_pimpl.h:
13014         * paragraph_pimpl.C: isTextAt() doesn't need font param
13015
13016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13017
13018         * lyxlex.h:
13019         * lyxlex.C: little cleanup
13020
13021 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13022
13023         * BufferView_pimpl.C: fix insertAscii for insets
13024
13025 2001-12-05  Juergen Vigna  <jug@sad.it>
13026
13027         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13028         set the right font on the "multi" paragraph paste!
13029
13030 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * trans_decl.h:
13033         * trans_mgr.[Ch]:
13034         * trans.[Ch]:
13035         * lyxgluelength.C:
13036         * lyxlength.C: remove out-commented code.
13037
13038         * BufferView_pimpl:
13039         * CutAndPaste.C:
13040         * DepTable.C:
13041         * buffer.C:
13042         * chset.C:
13043         * lastfiles.C:
13044         * lyxlex.C:
13045         * lyxlex_pimpl.C:
13046         * lyxserver.C:
13047         * screen.C:
13048         * tabular-old.C:
13049         * tabular.C:
13050         * text.C:
13051         * trans_mgr.C:
13052         * vc-backend.C: change "while(" to "while ("
13053
13054         * lyxlength.[Ch]: add zero function to check if length is zero or
13055         not
13056         * lyxgluelength.C: use it
13057
13058 2001-12-05  Allan Rae  <rae@lyx.org>
13059
13060         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13061         Works for 2.95.3, from what I understand of Garst's reports this should
13062         work for other g++ versions.  We're screwed if the abs(int) definition
13063         changed between bugfix releases of gcc.
13064
13065 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13066
13067         * text.C: fix chapter label offset !
13068
13069 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13070
13071         * lyxtext.h:
13072         * text.C: fix hfill at end of line, clean up
13073
13074 2001-12-04  Juergen Vigna  <jug@sad.it>
13075
13076         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13077         that we force an update of the inset and it's owners if neccessary.
13078
13079 2001-12-03  Juergen Vigna  <jug@sad.it>
13080
13081         * text.C (rowLast): simplified code
13082
13083 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13084
13085         * lyxfunc.C: fix show options on timeout
13086
13087 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13088
13089         * screen.C (topCursorVisible): scroll half a page when the cursor
13090         reached top of bottom of screen
13091
13092 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13093
13094         * minibuffer.C: deactivate on loss of focus
13095
13096 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13097
13098         * vspace.[Ch] (operator!=): add operator.
13099
13100 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * BufferView_pimpl.C: refuse to open an inset when
13103         there's a selection.
13104
13105 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * BufferView_pimpl.C: allow to click on RHS of full row insets
13108
13109 2001-11-30  Juergen Vigna  <jug@sad.it>
13110
13111         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13112         insets for undo reasons.
13113
13114 2001-11-28  André Pönitz <poenitz@gmx.net>
13115
13116         * vspace.[Ch]: cosmetical changes
13117
13118 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * LyXAction.h:
13121         * LyXAction.C:
13122         * lyxfunc.h:
13123         * lyxfunc.C:
13124         * kbmap.h:
13125         * kbmap.C:
13126         * lyxrc.C:
13127         * kbsequence.h:
13128         * kbsequence.C: part re-write of old kb code
13129
13130         * Painter.C:
13131         * WorkArea.C: remove Lgb_bug_find_hack
13132
13133 2001-11-30  José Matos <jamatos@fep.up.pt>
13134
13135         * buffer.C (makeDocBookFile): add a comment to point a hack.
13136         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13137         Fixed a double write of labels.
13138
13139 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13140
13141         * LaTeX.C:
13142         * LaTeX.h Fixed bug in LaTeX class where it would not
13143         re-run latex if no depfiles were changed, but the .dvi was removed.
13144
13145 2001-11-28  André Pönitz <poenitz@gmx.net>
13146
13147         * all the files from the change on 2001/11/26:
13148         use lyx::layout_type instead of LyXTextClass::size_type
13149         use lyx::textclass_type instead of LyXTextClassList::size_type
13150
13151 2001-11-29  Juergen Vigna  <jug@sad.it>
13152
13153         * text.C: added support for paragraph::isFreeSpacing()
13154
13155         * buffer.C: same as above
13156
13157         * paragraph.h: inserted isFreeSpacing() function to enable
13158         FreeSpacing inside InsetERT.
13159
13160         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13161         of the paragraph's in the cut/copy buffer to 0!
13162
13163         * text2.C (removeRow): remove the assert as it can!
13164
13165         * lyxtext.h: added helper function firstRow returning firstrow and
13166         made firstrow private again.
13167
13168         * BufferView2.C (lockInset): don't relock if we're already locked!
13169
13170         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13171         the only paragraph.
13172         (removeRow): added Assert::(firstrow)
13173
13174         * debug.C: forgot to add INSETTEXT here.
13175
13176 2001-11-28  Juergen Vigna  <jug@sad.it>
13177
13178         * sp_spell.C (initialize): changed error text to more general
13179         spellchecker command use (not only ispell!)
13180
13181         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13182
13183         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13184
13185 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13186
13187         * vspace.C: initialise lyxgluelength on failure
13188
13189 2001-11-28  Allan Rae  <rae@lyx.org>
13190
13191         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13192         declaration & definition that looks like a function declaration.
13193
13194 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13195
13196         * BufferView2.C (copy):
13197         (copyEnvironment): do not clear the selection when doing a copy.
13198
13199         * text.C (paintFirstRow): compilation fix
13200
13201 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13202
13203         * tabular.C (Latex): correct line count when writing latex.
13204
13205 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13206
13207         * paragraph_pimpl.h:
13208         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13209           bug a bit
13210
13211 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * text.C:
13214         * LColor.h:
13215         * LColor.C: change vfillline->added_space
13216
13217         * text.C: add markers and text for added space
13218
13219         * vspace.C: fix comment
13220
13221 2001-11-28  André Pönitz <poenitz@gmx.net>
13222
13223         * paragraph.C: whitespace changes
13224         * all the other files from the change on 2001/11/26:
13225         change *::pos_type into lyx::pos_type
13226
13227 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13228
13229         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13230         language of the document when inserting error insets.
13231
13232 2001-11-26  André Pönitz <poenitz@gmx.net>
13233
13234         * BufferView_pimpl.[Ch]:
13235         *       CutAndPaste.C:
13236         * buffer.[Ch]:
13237         * lyxcursor.[Ch]:
13238         * lyxfind.C:
13239         * lyxfunc.C:
13240         * lyxrow.[Ch]:
13241         * paragraph.[Ch]:
13242         * paragraph_pimpl.[Ch]:
13243         * sp_spell.C:
13244         * text.C:
13245         * text2.C: reduce header dependencies, introduce type for positions
13246
13247 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13248
13249         * <various>: change to use Alert.h
13250
13251 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13252
13253         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13254         when encountering an unknown token.
13255         (readLyXformat2): Show an error message if there were unknown tokens.
13256
13257 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13258
13259         * BufferView2.C:
13260         * BufferView_pimpl.C:
13261         * buffer.C:
13262         * paragraph.h:
13263         * text.C:
13264         * text2.C: use par->isInset()
13265
13266 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13267
13268         * paragraph_pimpl.h:
13269         * paragraph_pimpl.C: cleanup
13270
13271 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * text2.C (removeRow):
13274         * text.C (setHeightOfRow): remove useless (and costly) call to
13275         getRow.
13276
13277 2001-11-20  Allan Rae  <rae@lyx.org>
13278
13279         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13280         Now need Inset*::checkInsertChar() to return true for appropriate
13281         cases so that the characters in the minibuffer will actually be
13282         inserted.
13283
13284 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13285
13286         * text.C: change the order of the includes.
13287         (workWidth): initialize it at once.
13288         (workWidth): make maxw unsigned
13289         (setHeightOfRow): remove unused variable (inset)
13290         (selectSelectedWord): remove unused variable (inset)
13291         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13292
13293 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13294
13295         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13296         server is not running.
13297         (openConnection):
13298         (closeConnection): add debug info when server is disabled.
13299
13300         * ColorHandler.C (getGCForeground): send debug message to GUI
13301         channel.
13302
13303         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13304
13305         * kbmap.C (bind): modify because return conventions of
13306         kb_sequence::parse have changed.
13307
13308         * kbsequence.C (parse): only ignore spaces and not any stupid
13309         control character. This avoids tests like s[i] <= ' ', which are
13310         guaranteed to fail with 8bit characters and signed chars.
13311         Change return code to string::npos when there have been no error
13312         (0 was a bad idea when error is at first character)
13313
13314 2001-11-14  José Matos  <jamatos@fep.up.pt>
13315
13316         * buffer.h:
13317         * buffer.C (simpleDocBookOnePar): removed unused argument.
13318
13319 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13320
13321         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13322         insets which are part of a word. Paragraph::isLetter takes care of
13323         that now. Use Paragraph::isInset to identify insets.
13324         (selectSelectedWord): do not test for hyphenation break.
13325
13326         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13327         that protected spaces are considered as spaces.
13328
13329         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13330         Inset::isLetter.
13331
13332 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * lyxserver.h:
13335         * lyxserver.C: fix it. and small cleanup.
13336
13337 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13338
13339         * BufferView_pimpl.C: use inline helpers
13340
13341         * LaTeXFeatures.h:
13342         * LaTeXFeatures.C: fix typos
13343
13344         * Spacing.h:
13345         * Spacing.C: move spacing_string into class
13346
13347         * ToolbarDefaults.C: move stuff into namespace anon
13348
13349         * layout.h: update enum
13350
13351         * lyxfunc.C: use better debug
13352
13353         * minibuffer.h: fix typo
13354
13355         * debug.h:
13356         * debug.C:
13357         * WorkArea.C: add and use Debug::WORKAREA
13358
13359         * lyxtext.h:
13360         * text.C:
13361         * text2.C: code re-organisation, inline helpers
13362
13363 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13364
13365         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13366         std::vector.empty().
13367
13368 2001-11-09  Allan Rae  <rae@lyx.org>
13369
13370         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13371         '\n's after tables.  Tabular and ERT inset work now makes this no
13372         longer necessary.
13373
13374 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13375
13376         * minibuffer.h:
13377         * minibuffer.C: fix crash, improve drop-down completion
13378
13379 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13380
13381         * lyxserver.h:
13382         * lyxserver.C: invalidate fd's when doing endPipe()
13383
13384 2001-11-08  José Matos  <jamatos@fep.up.pt>
13385
13386         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13387         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13388
13389         * paragraph.h:
13390         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13391
13392 2001-11-07  José Matos  <jamatos@fep.up.pt>
13393
13394         * buffer.h:
13395         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13396         const qualifier.
13397
13398         * buffer.C (sgmlOpenTag):
13399         * buffer.C (sgmlCloseTag): removed debug info.
13400
13401         * buffer.h (sgmlOpenTag):
13402         * buffer.h (sgmlCloseTag): made public.
13403
13404 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * buffer.C (saveParamsAsDefaults):
13407         * lyx_cb.C (MenuLayoutSave): remove
13408
13409         * LyXAction.C (init):
13410         * commandtags.h:
13411         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13412
13413 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * buffer.C (setPaperStuff): removed from here...
13416
13417         * bufferparams.C (setPaperStuff): ... and moved there.
13418
13419 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13420
13421         * minibuffer.h:
13422         * minibuffer.C:
13423         * XFormsView.C: add support for drop-down completion
13424
13425 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13426
13427         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13428         commands.
13429
13430 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13431
13432         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13433         disabled.
13434
13435 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13436
13437         * lyx_main.C: change ref to known bugs
13438
13439 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13440
13441         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13442         to work around older babel problems.
13443
13444 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13445
13446         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13447
13448 2001-10-24  Juergen Vigna  <jug@sad.it>
13449
13450         * tabular-old.C (ReadOld): below variable changes reflected.
13451
13452         * tabular.[Ch]: added ltType struct for longtable header/footer
13453         defines and changed all instances where they are used. Added
13454         future support for double top/bottom rows.
13455
13456 2001-10-24  José Matos  <jamatos@fep.up.pt>
13457
13458         * buffer.h (docbookHandleCaption):
13459         * buffer.C (docbookHandleCaption): removed unused function.
13460         (makeDocBookFile): moved docbook supported version to v4.1.
13461
13462 2001-10-24  José Matos  <jamatos@fep.up.pt>
13463
13464         * tabular.h:
13465         * tabular.C (docbookRow): new function to export docbook code of a row.
13466         (DocBook): now honors the longtable flags.
13467
13468 2001-10-23  José Matos  <jamatos@fep.up.pt>
13469
13470         * LaTeXFeatures.h:
13471         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13472         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13473
13474         * buffer.C (makeLinuxDocFile):
13475         (makeDocBookFile): reworked the preamble, more clean, and with
13476         support for lyx defined entities. Changed the document declaration
13477         to be more XML friendly.
13478
13479         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13480         if we need to output XML that should be done with a filter.
13481
13482 2001-10-22  Juergen Vigna  <jug@sad.it>
13483
13484         * sp_pspell.h (class PSpell): add alive function needed in the
13485         controller to see if the spellchecker could be started.
13486
13487 2001-10-22  Juergen Vigna  <jug@sad.it>
13488
13489         * buffer.C (insertStringAsLines): modify the font for inserting
13490         chars in certain conditions by calling checkInsertChar(font).
13491
13492 2001-10-19  Juergen Vigna  <jug@sad.it>
13493
13494         * text.C (workWidth): use getRow instead of wrong algorithm.
13495         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13496
13497 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13498
13499         * lyxserver.h:
13500         * lyxserver.C:
13501         * lyx_main.h:
13502         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13503
13504 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13505
13506         * text.C (workWidth): do not search for the exact row when
13507         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13508         optimization for big documents.
13509
13510 2001-10-18  Juergen Vigna  <jug@sad.it>
13511
13512         * text.C (workWidth): new function with added Inset * parameter.
13513
13514 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13515
13516         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13517
13518         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13519         change return type of getColumnNearX.
13520
13521
13522         * text.C (changeRegionCase): use uppercase/lowercase instead of
13523         toupper/tolower.
13524         (leftMargin):
13525         (rightMargin): simplify code by factoring out the uses of
13526         textclasslist.
13527         (labelFill):
13528         (numberOfHfills):
13529         (setHeightOfRow):
13530         (appendParagraph): use Paragraph::size_type
13531
13532 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13533
13534         * vspace.C (asLatexString): add a missing break
13535
13536 2001-10-15  Herbert Voss  <voss@perce.de>
13537
13538         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13539
13540 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13541
13542         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13543         is not available.
13544
13545 2001-10-10  André Pönitz <poenitz@gmx.net>
13546
13547         * lyxfunc.C: removed greek_kb_flag.
13548
13549 2001-10-10  Herbert Voss  <voss@perce.de>
13550
13551         * lyx_main.C: delete global string help_lyxdir.
13552
13553 2001-10-09  Herbert Voss  <voss@perce.de>
13554
13555         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13556
13557         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13558
13559         * lyx_main.C: added global string help_lyxdir.
13560
13561         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13562
13563 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13564
13565         * lyxrc.C (set_font_norm_type): support iso8859-4
13566
13567 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13568
13569         * LaTeX.C (deplog): add another regex for MikTeX
13570
13571 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13572
13573         * lyxrc.C (set_font_norm_type): support iso8859-3
13574
13575 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13576
13577         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13578
13579         * LaTeXFeatures.C: remove special case of french and index
13580
13581         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13582         before \begin{document}). This solves several incompatibilities.
13583
13584 2001-10-03  Garst Reese  <reese@isn.net>
13585
13586         * lyx_cb.C: change CheckTex error msg.
13587
13588 2001-10-03  José Matos  <jamatos@fep.up.pt>
13589
13590         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13591
13592 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13593
13594         * .cvsignore: update
13595
13596         * lyx_main.C (commandLineVersionInfo): use new style version info.
13597
13598         * buffer.C (writeFile):
13599         (makeLaTeXFile):
13600         (makeLinuxDocFile):
13601         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13602
13603         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13604
13605         * version.h: update to use stuff in version.C
13606
13607         * version.C.in: new file. Contains version information determined
13608         at compile time. This is a merging of version.h and
13609         version_info.h.in.
13610
13611 2001-10-03  Juergen Vigna  <jug@sad.it>
13612
13613         * BufferView_pimpl.C (update): don't change "dirty" status in
13614         updateInset call.
13615
13616 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13617
13618         * WorkArea.C (c-tor): re-position version string slightly.
13619
13620 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13623         revert to previous code.
13624
13625         WorkArea.[Ch]: (show, destroySplash): methods removed.
13626
13627         WorkArea.C: rework code so that it's an amalgam of the codes before and
13628         after the splash screen was moved to WorkArea.
13629
13630 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13631
13632         * lyxrc.C (read):
13633         * vspace.C (inPixels):
13634         (lyx_advance):
13635         * kbmap.C (bind):
13636         * buffer.C (insertStringAsLines):
13637         (asciiParagraph): fix types to be large enough
13638
13639         * lyxlex_pimpl.h: change member status from short to int
13640
13641         * layout.h: fix type of endlabeltype
13642
13643         * kbmap.C (bind):
13644         * kbsequence.C (parse): change return type to string::size_type
13645
13646         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13647         variable
13648
13649         * Bullet.C (bulletSize):
13650         (bulletEntry): do not use short ints as parameters
13651
13652         * BufferView2.C (insertLyXFile): change a char to an int.
13653
13654         * WorkArea.C (WorkArea): remove unneeded floats in computation
13655
13656 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13657
13658         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13659
13660         * paragraph.C (asString): Do not ignore newline/hfill chars when
13661         copying to the clipboard.
13662
13663 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13664
13665         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13666         after a multi-line inset.
13667
13668 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13669
13670         * paragraph.C (validate): Set NeedLyXFootnoteCode
13671
13672 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13673
13674         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13675         and decrease-error to decrease.
13676
13677 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13678
13679         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13680         it more readable (should be equivalent)
13681
13682 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13683
13684         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13685
13686 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13687
13688         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13689         of a cursor (row, etc.) after a character has been deleted
13690         (deleteEmptyParagraphMechanism): call the method above on _all_
13691         cursors held by the LyXText when a double space has been
13692         detected/deleted.
13693
13694 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13695
13696         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13697         pixmap.
13698         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13699
13700         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13701         background. Use greyOut() and the new show() methods to toggle between
13702         the foreground and background. Add code to remove the splash after
13703         its initial showing.
13704
13705         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13706         (create_forms): no longer call Dialogs::showSplash.
13707
13708 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13709
13710         * .cvsignore: add version_info.h
13711
13712 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13713
13714         * version_info.h.in: new file
13715
13716         * Makefile.am: add version_info.h.in
13717
13718         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13719         version_info.h instead of VERSION_INFO
13720
13721 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13722
13723         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13724         The ERT inset now returns string().
13725
13726 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13727
13728         * lyxtext.h, text.C (selectNextWord): renamed as
13729         selectNextWordToSpellcheck.
13730
13731         * text.C (selectNextWordToSpellcheck): Modified to not select
13732         words inside an ERT inset.
13733
13734 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13735
13736         * lyx_cb.C (MenuLayoutSave): change a bit the question
13737
13738         * sp_base.h: include <sys/types.h>
13739
13740 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13743
13744 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13745
13746         * several files: fix typos in user-visible strings
13747
13748 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13749
13750         * text2.C (pasteSelection): do not set the selection, since it
13751         will be cleared later. Actually, the intent was to fix the way the
13752         selection was set, but I figured rmoving the code was just as good.
13753
13754 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13755
13756         * FontLoader.C (available): Check if font is available without
13757         loading the font.
13758
13759 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13760
13761         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13762
13763 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13764
13765         * lyxrc.[Ch]: added display_graphics variable and associated code.
13766
13767 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13768
13769         * bufferparams.C (hasClassDefaults): new method. Returns true if
13770         the buffer parameters correspond to known class defaults
13771
13772 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13773
13774         * XFormsView.C (show): set minimum size to the main window.
13775
13776 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13777
13778         * text2.C (copySelection):
13779         (cutSelection):
13780         * lyxfind.C (LyXReplace):
13781         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13782         LyXText::selectionAsString.
13783
13784         * paragraph.C (asString): add "label" argument to the second form
13785
13786         * text2.C (selectionAsString): add "label" argument and pass it to
13787         Paragraph::asString.
13788
13789 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13790
13791         * lyx_main.C (commandLineHelp): remove version information
13792
13793 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13794
13795         * lyx_main.C: add -version commandline option
13796
13797 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13798
13799         * paragraph.h: make the optional constructor arg required instead.
13800         some modifications to other files because of this.
13801
13802         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13803
13804         * lyxserver.C (C_LyXComm_callback): make it static
13805
13806         * lyx_main.C (error_handler): make it static
13807
13808         * lyx_gui.C (LyX_XErrHandler): make it static
13809
13810         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13811
13812         * WorkArea.C: make the extern "C" methods static.
13813
13814         * Makefile.am (lyx_LDADD): simplify
13815
13816 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13817
13818         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13819         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13820
13821         * LyXAction.C (init):
13822         * lyxfunc.C (dispatch): associated code removal.
13823
13824 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13825
13826         * lyxfont.h (isSymbolFont): shut off warning
13827
13828         * text.C (setHeightOfRow):
13829         (getVisibleRow): fix crash with empty paragraphs which have a
13830         bottom line
13831
13832 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13833
13834         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13835         code.
13836
13837 2001-09-04  José Matos  <jamatos@fep.up.pt>
13838         * buffer.C
13839         * buffer.h
13840         * tabular.C (docbook): rename docBook method to docbook.
13841
13842 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13843
13844         * Makefile.am: add dependencies to main.o.
13845
13846 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13847
13848         * FontLoader.C (available): Return false if !lyxrc.use_gui
13849
13850 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13851
13852         * FontInfo.C (query):
13853         * converter.C (view):
13854         * importer.C (Import):
13855         * exporter.C (Export): Can not -> cannot.
13856
13857 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13858
13859         * BufferView_pimpl.C: allow to create index inset even if
13860           string is empty
13861
13862 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13863
13864         * buffer.C (getLists): replace boost::tie code with an explicit pair
13865         as boost::tie can break some compilers.
13866
13867         * iterators.h: Added a std:: declaration to the return type of
13868         ParIterator::size.
13869
13870 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13871
13872         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13873           case.
13874
13875 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13876
13877         * iterators.[Ch]: New files. Provide paragraph iterators.
13878
13879         * buffer.C (changeLanguage): Use paragraph iterators.
13880         (isMultiLingual): ditto
13881
13882         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13883
13884 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13885
13886         * FontLoader.C: Support for cmr font.
13887
13888 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13889
13890         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13891         (available): New method.
13892
13893         * FontInfo.C (getFontname): Use scalable fonts even when
13894         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13895         found.
13896
13897 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * converter.C (Formats::view): reverted! Incorrect fix.
13900
13901 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13902
13903         * converter.C (Formats::view): only output the -paper option
13904         if the dvi viewer is xdvi, thereby fixing bug #233429.
13905
13906 2001-08-23  Herbert Voss  <voss@perce>
13907
13908         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13909
13910 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13911
13912         * Spacing.h (Spacing): Set space to Default on in the default
13913         constructor.
13914
13915 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13916
13917         * vc-backend.h (RCS::versionString): add RCS to version
13918         (CVS::versionString): add CVS to version
13919
13920         * vc-backend.C (scanMaster): do not add CVS to version.
13921         (scanMaster): do not add RCS to version
13922
13923         * lyxvc.C (versionString): new method
13924
13925         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13926
13927 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13928
13929         * Spacing.C (set): initialize fval
13930
13931 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13932
13933         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13934         " or \.
13935
13936 2001-08-16  Juergen Vigna  <jug@sad.it>
13937
13938         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13939
13940 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * BufferView_pimpl.C:
13943         * figureForm.C:
13944         * lyxtext.h:
13945         * text2.C: setParagraph takes linespacing now
13946
13947 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * LyxAction.C: add internal LFUN_CITATION_INSERT
13950
13951         * LyXView.C: actually apply fix
13952
13953         * bufferlist.C: fix open non-existent file
13954
13955         * lyxfind.C: fix indentation
13956
13957         * lyxfunc.C: remove unneeded assert, fix typo
13958
13959 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13960
13961         * MenuBackend.C: use "Floatname List"
13962
13963 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13964
13965         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13966         when converting LaTeX layout to insetERT.
13967         Generate a non-collapsed float when reading old float
13968
13969 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13970
13971         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13972         ERT insets.
13973
13974 2001-08-13  Juergen Vigna  <jug@sad.it>
13975
13976         * text.C (fill): return 0 instead of 20 as this seems to be the more
13977         correct value.
13978
13979 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13980
13981         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13982         lyxrc.font_norm.
13983
13984 2001-08-13  Juergen Vigna  <jug@sad.it>
13985
13986         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13987         casesensitive off.
13988         (SearchBackward): comment out the unlocking of the inset_owner this
13989         should not be needed!
13990
13991 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13992
13993         * Many files: Remove inherit_language, and add latex_language
13994
13995         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13996         collapsible insets.
13997
13998 2001-08-10  Juergen Vigna  <jug@sad.it>
13999
14000         * text.C (prepareToPrint): fixed hfill-width in draw!
14001
14002         * BufferView2.C (selectLastWord): save the selection cursor as this
14003         now is cleared in the function LyXText::clearSelection!
14004
14005 2001-08-08  Juergen Vigna  <jug@sad.it>
14006
14007         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14008         BACKSPACE type functions.
14009
14010         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14011         is only cutted from the document but not put in the cut-buffer, where
14012         still the old stuff should be.
14013
14014         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14015
14016         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14017
14018         * tabular.C (SetWidthOfCell): fixed special case where the width
14019         was not updated!
14020         (LeftLine): handle '|' in align_special.
14021         (RightLine): ditto
14022         (LeftAlreadyDrawed): ditto
14023         (SetWidthOfCell): ditto
14024
14025 2001-08-07  Juergen Vigna  <jug@sad.it>
14026
14027         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14028
14029 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14030
14031         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14032         * lyxlex.[hC]: ditto
14033
14034 2001-08-06  Juergen Vigna  <jug@sad.it>
14035
14036         * text.C (getVisibleRow): fix up row clearing a bit.
14037
14038 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * minibuffer.C: make sure the X server sees the changes in the input.
14041
14042 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * paragraph.C (getFont): split into...
14045         (getLabelFont): this
14046         (getLayoutFont): and this
14047         * paragraph_pimpl.C (realizeFont): calling this
14048
14049         * text2.C (getFont): split into...
14050         (getLayoutFont): this
14051         (getLabelFont): and this
14052         (realizeFont): all three calling this
14053
14054         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14055         files where used.
14056
14057 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14058
14059         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14060
14061 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14062
14063         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14064         layouts from the Quote inset insertion.
14065
14066 2001-08-03  Juergen Vigna  <jug@sad.it>
14067
14068         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14069
14070         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14071         only if status not is already CHANGED_IN_DRAW (second level).
14072
14073         * text.C (draw): don't set the need_break_row when inside an
14074         InsetText LyXText.
14075
14076 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14077
14078         * buffer.C (parseSingleLyXformat2Token): handle more latex
14079         conversion cases.
14080
14081         * bufferview_funcs.[hC]: change function names to
14082         begin with small char, adjust other files.
14083
14084 2001-08-02  André Pönitz <poenitz@gmx.net>
14085
14086         * lyxfunc.C:
14087         BufferView_pimpl.C: remove broken special code for math-greek
14088
14089 2001-08-02  Juergen Vigna  <jug@sad.it>
14090
14091         * BufferView_pimpl.C (update): redone this function so that we
14092         update the text again if there was a CHANGE_IN_DRAW.
14093
14094         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14095         (drawFromTo): added a new internal bool which is used by draw() and
14096         redraw() function.
14097         (general): some cursor drawing problems fixed.
14098
14099 2001-08-01  Juergen Vigna  <jug@sad.it>
14100
14101         * lyxfind.C (LyXFind): fixed
14102         (SearchForward): ditto
14103         (SearchBackward): ditto
14104
14105         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14106         spurius drawing of the cursor in the main area.
14107
14108         * text2.C (status): small fix which could lead to a segfault!
14109         (clearSelection): remove unneeded BufferView param.
14110
14111 2001-08-01  André Pönitz <poenitz@gmx.net>
14112
14113         * lyxfunc.C: small change due to changed mathed interface
14114
14115 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14116
14117         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14118
14119 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14120
14121         * lyxfunc.c: fail gracefully if file doesn't exist
14122
14123         * LyXSendto.C:
14124         * buffer.C:
14125         * lyxfunc.C:
14126         * BufferView_pimpl.C: IsDirWriteable() proto changed
14127
14128         * LyXView.C: fix updateWindowTitle() to store the last title
14129
14130 2001-07-31  Juergen Vigna  <jug@sad.it>
14131
14132         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14133         the font (wrong since using of Paragraph::highestFontInRange).
14134
14135         * paragraph.C (highestFontInRange): added a default_size parameter.
14136
14137         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14138         (setHeightOfRow): reformat
14139
14140 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14141
14142         * converter.[hC] + affected files: move to (inital-char)lowercase
14143         function names.
14144
14145         * ParagraphParameters.C (ParagraphParameters): remove commented code
14146
14147         * PainterBase.[Ch]: remove commented code
14148
14149         * LaTeXFeatures.h: add "bool floats" for float.sty
14150
14151         * LaTeXFeatures.C (LaTeXFeatures): init floats
14152         (require): handle float
14153         (getPackages): do it with floats
14154
14155 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14156
14157         * BufferView_pimpl.C (Dispatch): improve handling of
14158         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14159
14160         * commandtags.h: #include lyxfont.h here temporarily to avoid
14161         keybinding bug.
14162
14163         * bufferlist.h: include LString.h here.
14164
14165 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14166
14167         * text2.C (getStringToIndex): new method.
14168
14169 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14170
14171         * *: Reduced header file dependencies all over.
14172
14173 2001-07-30  Baruch Even  <baruch@lyx.org>
14174
14175         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14176
14177 2001-07-29  Baruch Even  <baruch@lyx.org>
14178
14179         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14180
14181 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14182
14183         * ParameterStruct.h (endif): add a default constructor to make
14184         sure that all variables is initialized.
14185
14186         * ParagraphParameters.C (ParagraphParameters): adjust
14187
14188 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14189
14190         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14191         index; also, check that there is something to index, and that it
14192         does not span over several paragraphs.
14193         (doubleClick): use WHOLE_WORD_STRICT for double click.
14194
14195         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14196
14197         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14198         scheme.
14199
14200 2001-07-26  Baruch Even  <baruch@lyx.org>
14201
14202         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14203         an InsetFig figure, backwards compatible reading of old figure code.
14204
14205 2001-07-27  Juergen Vigna  <jug@sad.it>
14206
14207         * text2.C: font.realize function adaption.
14208
14209         * text.C (draw): add a warnings lyxerr text if needed.
14210
14211         * layout.C: font.realize function adaption.
14212
14213         * language.C: add inherit_language and implement it's handlings
14214
14215         * bufferview_funcs.C (StyleReset): remove language parameter from
14216         font creation (should be language_inherit now).
14217
14218         * bufferparams.C (writeFile): handle ignore_language.
14219
14220         * paragraph.C (getFontSettings): the language has to be resolved
14221         otherwise we have problems in LyXFont!
14222
14223         * lyxfont.C (lyxWriteChanges): added document_language parameter
14224         (update): removed unneeded language parameter
14225
14226         * paragraph.C (validate): fixed wrong output of color-package when
14227         using interface colors for certain fonts in certain environments,
14228         which should not seen as that on the final output.
14229
14230 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14231
14232         * BufferView_pimpl.C:
14233         * Thesaurus.h:
14234         * Thesaurus.C:
14235         * Makefile.am:
14236         * commandtags.h:
14237         * LyXAction.C: add thesaurus support
14238
14239         * lyxfind.h:
14240         * lyxfind.C: add "once" parameter, for thesaurus, to not
14241           move to the next match
14242
14243 2001-07-26  Juergen Vigna  <jug@sad.it>
14244
14245         * lyxfont.C (realize): honor ignore_language too!
14246         (resolved): ditto.
14247
14248         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14249
14250         * text.C (draw): one place more for ignore_language to not draw
14251         itself!
14252
14253 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14254
14255         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14256
14257 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14258
14259         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14260         the minipage conversion problem.
14261
14262 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14263
14264         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14265         insert an inset.
14266
14267 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14268
14269         * BufferView.h: don't forward declare WorkArea
14270
14271         * BufferView.C: don't include WorkArea.h
14272
14273 2001-07-25  André Pönitz <poenitz@gmx.net>
14274
14275         * commandtags.h:
14276         * LyXAction.C:
14277         * lyxfunc.C:  new LFUN 'math-space'
14278
14279         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14280
14281 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14282
14283         * text2.C (toggleInset): call open/close
14284
14285 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14286
14287         * lyxfunc.C (dispatch): add debug for the disabled case
14288
14289         * font.C (buttonText): make similar to rectText
14290
14291         * buffer.C (readInset): comment out parsing of insetlist and
14292         insttheorem
14293
14294         * PainterBase.C (rectText): small correction
14295
14296         * BufferView_pimpl.C: comment out insettheorem and insetlist
14297         * LyXAction.C: ditto
14298         * commandtags.h: ditto
14299
14300 2001-07-24  Juergen Vigna  <jug@sad.it>
14301
14302         * text.C (draw): honor the ignore_language.
14303
14304         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14305
14306 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14309         char inset.
14310
14311 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14312
14313         * lyxtext.h: remove unused (and unimplemented) methods
14314
14315 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14316
14317         * text.C (getVisibleRow): honor background color
14318
14319         * PainterBase.h:
14320         * Painter.h: remove default color argument for fillRectangle
14321
14322         * text.C (backgroundColor): new method
14323
14324 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14325
14326         * text.C (getVisibleRow): adjust
14327
14328         * font.[Ch] (rectText): new method, metrics
14329         (buttonText): new method, metrics
14330
14331         * PainterBase.[hC]: make rectText and buttonText always draw and take
14332         fewer paramteres.
14333
14334 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14335
14336         * ToolbarDefaults.C (read):
14337         * MenuBackend.C (read): allow escaping in all strings
14338
14339         * BufferView_pimpl.C (insertAndEditInset): new method.
14340         (Dispatch): use insertAndEditInset whenever appropriate.
14341
14342         * BufferView_pimpl.C (insertNote): removed
14343
14344         * BufferView_pimpl.C (smartQuote): new method, moved from
14345         BufferView; if an insetquote cannot be inserted, insert a '"'
14346         character instead.
14347
14348         * BufferView2.C: remove insertCorrectQuote();
14349
14350         * lyxfunc.C (getStatus): Add support for all remaingin
14351         inset-insert lfuns.
14352
14353         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14354
14355         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14356         command (necessary to pass " as parameter of self-insert.
14357
14358         * text.C (selectWordWhenUnderCursor):
14359         (selectWord): add word_location parameter
14360         (selectWordWhenUnderCursor): same + remove special code for word
14361         boundary.
14362         (selectNextWord): use kind() to guess type of insetspecialchar,
14363         not latex().
14364
14365         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14366         (insertErtContents): create ert insets as collapsed.
14367         (readInset): better compatibility code for Info inset.
14368
14369 2001-07-20  Juergen Vigna  <jug@sad.it>
14370
14371         * lyxfunc.C (dispatch): use always LyXFind now!
14372
14373         * text2.C (init): add a reinit flag so that the LyXText can be
14374         reinited instead of deleted and reallocated (used in InsetText).
14375
14376         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14377
14378         * text.C: ditto
14379
14380         * text2.C: ditto
14381
14382 2001-07-18  Juergen Vigna  <jug@sad.it>
14383
14384         * text.C (selectNextWord): handle insets inside inset by calling
14385         always the bv->text functions so that we can go up the_locking_inset!
14386
14387         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14388         in strange locations when inside an inset!
14389
14390         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14391         handling to include insets.
14392
14393         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14394
14395 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14396
14397         * LyXAction.C (init):
14398         * commandtags.h:
14399         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14400         LIGATURE_BREAK, since the name is so stupid.
14401
14402 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14403
14404         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14405         InsetInfos.
14406
14407         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14408
14409         * sp_form.[Ch]: remove.
14410
14411         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14412
14413         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14414         InsetInfo.
14415
14416         * src/buffer.C (readInset): ditto.
14417
14418 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14419
14420         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14421         menuSeparator(), endOfSentenceDot(), ldots() and
14422         hyphenationPoint(), which are therefore removed.
14423         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14424
14425         * LyXAction.C (init):
14426         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14427
14428         * paragraph.C (getWord): removed.
14429
14430         * BufferView_pimpl.C (Dispatch): use last word or selection for
14431         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14432
14433         * lyx_main.C (queryUserLyXDir): do not ask before creating
14434         user_dir, except if it has been named explicitely.
14435
14436 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14437
14438         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14439         a document of zero size.
14440
14441 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14442
14443         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14444         approriately in the c-tor and in require().
14445         (getPackages): output the appropriate LaTeX for natbib support.
14446
14447         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14448         variables "use_natbib" and "use_numerical_citations" when reading the
14449         LyX file.
14450         (readInset): read the various natbib cite commands.
14451         (validate): white-space change.
14452
14453         * bufferparams.[Ch]: new variables "bool use_natbib" and
14454         "bool use_numerical_citations".
14455         (writeFile): output them in the LyX file.
14456
14457 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14458
14459         * lyxfunc.C (getStatus): add support for all the inset insertion
14460         commands.
14461
14462         * text2.C (insertInset):
14463         * paragraph.C (insetAllowed):
14464         * BufferView_pimpl.C (insertInset): update to take in account the
14465         renaming of insertInsetAllowed
14466
14467         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14468
14469         * text2.C (getInset): new method. returns inset at cursor position.
14470
14471         * BufferView_pimpl.C (Dispatch): changes because of this.
14472
14473         * LyXAction.C (init): rename open-stuff to inset-toggle.
14474
14475         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14476
14477         * text2.C (toggleInset): renamed from openStuff; use
14478         Inset::open().
14479
14480 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14481
14482         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14483
14484         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14485
14486 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14487
14488         * buffer.C (readLyXformat2): Add filename to the error dialog
14489
14490 2001-07-18  Juergen Vigna  <jug@sad.it>
14491
14492         * tabular.C (GetCellNumber): put an assert here instead of the check!
14493
14494 2001-07-17  Juergen Vigna  <jug@sad.it>
14495
14496         * BufferView_pimpl.C (toggleSelection): adapted too.
14497
14498         * text.C (selectNextWord): adapted for use with insets.
14499         (selectSelectedWord): ditto
14500
14501 2001-07-17  Juergen Vigna  <jug@sad.it>
14502
14503         * sp_spell.C (PSpell): fix initialitation order.
14504
14505 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14506
14507         * paragraph.C: spacing
14508
14509 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14510
14511         * sp_spell.C: repair language selection for pspell
14512
14513 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14514
14515         * lyxfunc.h: change more methods to begin with lower char.
14516
14517 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14518
14519         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14520         for unknown layouts.
14521
14522 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14523
14524         * buffer.C (readLyXformat2): Generate an error dialog if there are
14525         unknown layouts.
14526
14527 2001-07-16  Juergen Vigna  <jug@sad.it>
14528
14529         * sp_spell.C: always compile ISpell part.
14530
14531         * lyxrc.C: added use_pspell entry and it's handling.
14532
14533 2001-07-13  Juergen Vigna  <jug@sad.it>
14534
14535         * sp_spell.C: removed double includes.
14536
14537 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14538
14539         Consistent use of Lsstream.h:
14540         * Lsstream.h: added using std::stringstream for consistencies sake.
14541
14542         * buffer.C: removed using std::stringstream
14543
14544         * lyxfont.C (stateText):
14545         * paragraph.C (asString):
14546         * text.C (selectNextWord, selectSelectedWord):
14547         * text2.C (setCounter):
14548         * vspace.C (asString, asLatexString):
14549         std::ostringstream -> ostringstream.
14550
14551 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14552
14553         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14554         * commandtags.h: add LFUN_HELP_ABOUTLYX
14555         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14556
14557 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14558
14559         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14560         cursorToggle()
14561         * lyx_gui_misc.C: remove spellchecker
14562         * lyxfunc.C: showSpellchecker
14563         * sp_base.h: added
14564         * sp_ispell.h: added
14565         * sp_pspell.h: added
14566         * sp_spell.C: added
14567         * sp_form.[Ch]: removed
14568         * spellchecker.[Ch]: removed
14569
14570 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14571
14572         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14573         is set.
14574         (simpleTeXSpecialChars): Simply print the input character without
14575         any special translation if pass_thru is set.
14576
14577         * layout.h: Added bool pass_thru to layout class for being able to
14578         implement pass through of a paragraph for Literate Programming.
14579
14580         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14581         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14582         * layout.C (Read): add "passthru" to list of layout tags and add
14583         code to set the pass_thru boolean when it is read.
14584
14585 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14586
14587         * trans_decl.h: remove allowed from KmodInfo
14588
14589         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14590         remove allowed code
14591         (Load): adjust
14592
14593         * paragraph_pimpl.C (erase): use boost::prior
14594
14595         * Painter.C (text): use data() instead of c_str() when length is
14596         also provided.
14597         * WorkArea.C (putClipboard): ditto
14598         * font.h (width): ditto
14599
14600         * BufferView2.C: use it-> instead of (*it). for iterators
14601         * texrow.C: ditto
14602         * paragraph_pimpl.C: ditto
14603         * paragraph.C: ditto
14604         * minibuffer.C: ditto
14605         * language.C: ditto
14606         * kbmap.C: ditto
14607         * encoding.C: ditto
14608         * counters.C: ditto
14609         * converter.C: ditto
14610         * chset.C: ditto
14611         * Variables.C: ditto
14612         * TextCache.C: ditto
14613         * MenuBackend.C: ditto
14614         * LyXAction.C: ditto
14615         * LColor.C: ditto
14616         * FloatList.C: ditto
14617         * DepTable.C: ditto
14618         * ColorHandler.C (LyXColorHandler): ditto
14619
14620 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14621
14622         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14623
14624         * text2.C (openStuff): reintroduce this method (which had been
14625         nuked in NEW_INSETS frenzy).
14626
14627         * lyxfunc.C (Dispatch): when an action has not been handled, use
14628         its name in the error message, not its number.
14629
14630         * paragraph.C (inInset): change method name to begin with lowercase.
14631
14632         * undo_funcs.C:
14633         * text2.C: updates because of this.
14634
14635 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14636
14637         * ToolbarDefaults.C (add): add spaces in error message
14638
14639 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14640
14641         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14642         (readLyXformat2): rename return_par to first_par, use lyxlex's
14643         pushToken and remove the manual push handling.
14644         (parseSingleLyXformat2Token): add another ert comp. variable:
14645         in_tabular, rename return_par to first_par. handle newlines better
14646
14647 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14648
14649         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14650
14651 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * text2.C (getParFromID): removed
14654
14655         * buffer.C (getParFromID): new method moved form lyxtext.
14656         * BufferView2.C (insertErrors): adjust
14657         (setCursorFromRow): adjust
14658         * BufferView_pimpl.C (restorePosition): adjust
14659         * lyxfunc.C (Dispatch): adjust
14660         * undo_funcs.C (textUndo): adjust
14661         (textRedo): adjust
14662         (textHandleUndo): adjust
14663         (textHandleUndo): adjust
14664
14665 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14666
14667         * buffer.C: up' the LYX_FORMAT
14668
14669         * lyxfont.h: turn NO_LATEX on as default
14670
14671         * buffer.C (insertErtContents): new methods of tex style compability.
14672         (parseSingleLyXformat2Token): use it several places.
14673         * tabular.C (OldFormatRead): and here
14674
14675 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14676
14677         * text2.C: remove some commented code.
14678         reindent file.
14679
14680         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14681         * trans.C: changes because of the above.
14682
14683 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14684
14685         * text2.C (setCounter): Fix counters bug with bibliography layout.
14686
14687 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14688
14689         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14690         own member functions
14691         (simpleTeXSpecialChars): ditto
14692
14693 2001-07-06  Juergen Vigna  <jug@sad.it>
14694
14695         * a lot of files: changed the access to LyXText::status and the
14696         call of undo-functions.
14697
14698         * undo.[Ch]: added a inset_id to the undo informations.
14699
14700         * undo_funcs.[Ch]: added and moved here all undo functions.
14701
14702         * lyxtext.h: give the status enum a weight, made status_ a private
14703         variable and made accessor functions for it, removed the whole bunch
14704         of undo-functions as they are now in their own file, make some
14705         functions publically available. Added function ownerParagraph with
14706         int parameter.
14707
14708         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14709         made InInset() a const function, added getParFromID() function.
14710
14711         * buffer.[Ch]: added const version for inset_iterator functions,
14712         added getInsetFromID() function.
14713
14714         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14715         changed undo functions for new version.
14716
14717 2001-07-05  Juergen Vigna  <jug@sad.it>
14718
14719         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14720         unknow mechanism does not call the proper constructor but only this
14721         one also if I request the other!?
14722
14723 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14724
14725         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14726
14727         * text2.C (LyXText): use initialization lists.
14728
14729         * lyxtext.h (Selection): initialize set_ and mark_
14730         (init): remove method
14731
14732 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14733
14734         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14735
14736 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * screen.[Ch]: change method names to begin with lowercase
14739
14740         * BufferView_pimpl.C (updateScrollbar): simplify further and
14741         hopefully make it a bit faster.
14742
14743 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14744
14745         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14746         calling directly xforms functions.
14747
14748         * Painter.C (Painter):
14749         * lyx_cb.C (MenuWrite):
14750         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14751         fl_display.
14752
14753         * lyx_gui.C: remove bogus guiruntime extern declaration.
14754
14755 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14756
14757         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14758         in NEW_INSETS
14759         (redoDrawingOfParagraph): ditto
14760         (redoParagraphs): ditto
14761         (cutSelection): don't create a object for CutAndPaste use the
14762         static method directly
14763         (pasteSelection): ditto
14764
14765         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14766         LyXview (+ rename)
14767
14768 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14769
14770         * modifications to some other files because of this.
14771
14772         * Makefile.am (lyx_SOURCES): add XFormsView
14773
14774         * XFormsView.[Ch]: new files
14775
14776         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14777         the main window. Move the gui dependent stuff to XFormsView
14778
14779 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * tabular.C (GetCellInset): update cur_cell also in the row/col
14782         version of this function.
14783
14784         * lyxfunc.C: no need to include figure_form.h here.
14785
14786         * FontLoader.h:
14787         * lyxfunc.h:
14788         * lyxscreen.h:
14789         * text2.C:
14790         * lyxvc.C: no need to include forms.h here.
14791
14792 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14793
14794         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14795
14796         * lyxfunc.C (Dispatch):
14797         * Spacing.C (set):
14798         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14799         constructor argument.
14800
14801 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14802
14803         * paragraph.C (Paragraph): dont't clear, and just set layout.
14804         (makeSameLayout): use params's copy contructor.
14805
14806         * ParagraphParameters.[Ch] (makeSame): delete method
14807
14808 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * Variables.[Ch]: fix indentation, rename set to isSet
14811
14812 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14813
14814         * lyxfunc.C (Dispatch): fix typo
14815
14816 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14819         upper_bound.
14820
14821         * bufferlist.C: include assert.h for emergencyWrite().
14822
14823 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14824
14825         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14826           give up at last (bug #425202) !
14827
14828 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14829
14830         * lyx_gui_misc.C:
14831         * sp_form.h:
14832         * sp_form.C:
14833         * spellchecker.h:
14834         * spellchecker.C: strip spellchecker options and bring up
14835           preferences tab instead
14836
14837 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14838
14839         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14840         the istringstream constructor
14841
14842 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * paragraph.C (getLayout): fix return value
14845
14846         * paragraph.h: do not declare getLayout as inline.
14847
14848         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14849
14850 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14851
14852         * lyxcursor.h (operator<): new func
14853         (operator>): new func
14854         (operator>=): new func
14855         (operator<=): new func
14856
14857         * text.C (changeCase): use selection.start and selection.end
14858         (changeRegionCase): require from to be <= to. Require par to be a
14859         valid paragraph.
14860
14861         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14862
14863 2001-06-27  Juergen Vigna  <jug@sad.it>
14864
14865         * text.C (cursorLeftOneWord): changed to return the cursor and added
14866         overlay with BufferView * parameter which calls this one.
14867         (getWord): added
14868         (selectWord): use new getWord function.
14869         (changeCase): renamed from changeWordCase as and extended to work
14870         also on selections.
14871
14872         * lyxtext.h: added enum word_location
14873
14874         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14875         changeCase as this operates now also on selections.
14876
14877 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14878
14879         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14880
14881         * many files: send debug output to Debug::INFO instead of
14882         Debug::ANY.
14883
14884         * converter.C (View):
14885         (Convert):
14886         (Move): send debug output to Debug::FILES instead of console.
14887
14888 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14889
14890         * lyxfunc.C (getStatus): use func_status
14891
14892         * func_status.h: new header, describing the results of
14893         LyXFunc::getStatus;
14894
14895         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14896         LFUN_MATH_HALIGN.
14897
14898 2001-06-25  The LyX Project  <jug@sad.it>
14899
14900         * buffer.C (sgmlOpenTag):
14901         (sgmlCloseTag):
14902         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14903
14904 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14905
14906         * text2.C: remove some dead code
14907
14908         * tabular.C (GetCellInset): store the last cell checked (gotten)
14909
14910         * tabular.h: add the helper for the speedup
14911
14912         * lyxtext.h: remove some dead code
14913
14914 2001-06-26  The LyX Project  <Asger>
14915
14916         * paragraph.C: Change export to LaTeX of alignment to
14917         \begin{center} and family for better roundtrip work with reLyX.
14918
14919         * Tune the math drawing a bit.
14920
14921 2001-06-25  The LyX Project  <Asger>
14922
14923         * LColor.C (LColor): New color for math background. New color
14924         for buttons.
14925
14926 2001-06-25  The LyX Project  <jug@sad.it>
14927
14928         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14929
14930         * lyxfunc.C (Open):
14931         * bufferlist.C (newFile): do not restrict to files ending with
14932         .lyx
14933
14934         * BufferView_pimpl.C (MenuInsertLyXFile):
14935
14936 2001-06-24  The LyX Project  <jug@sad.it>
14937
14938         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14939         of compare_no_case
14940
14941 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14942
14943         * lyxtext.h: rename most methods to begin with a small char.
14944         Lots of changes because of this.
14945
14946         * paragraph.C (Paragraph): do not call fitToSize
14947         (erase): call Pimpl::erase
14948         (insertChar): call Pimpl::insertChar
14949         (insertInset): call Pipl::insertInset
14950         (breakParagraph): do not call fitToSize
14951         (breakParagraphConservative): do not call fitToSize
14952         (fitToSize): remove method
14953
14954         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14955
14956 2001-06-24  The LyX Project  <Asger>
14957
14958         * Fix Qt compilation^2
14959
14960 2001-06-24  The LyX Project  <jug@sad.it>
14961
14962         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14963         depthHook(getDepth()-1).
14964
14965         * paragraph.h:
14966         * ParagraphParameters.h:
14967         * ParameterStruct.h: change type of depth to unsigned int ==
14968         depth_type. Many adaptations to other files before of that.
14969
14970 2001-06-24  The LyX Project  <Asger>
14971
14972         * Fix Qt compilation.
14973
14974 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * paragraph.h: renamed several methods to begin with small letter.
14977         several changes to many parts of the code because of this.
14978
14979 2001-06-23  The LyX Project  <jug@sad.it>
14980
14981         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14982         rewritten to discard all double spaces when KeepEmpty is off
14983         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14984         to only handle newlines but not fiddle with spaces and friends.
14985
14986         * lyxfunc.C (MenuNew): when doing 'new from template', use
14987         template_path as default directory
14988
14989 2001-06-23  The LyX Project  <Asger>
14990
14991         * Clean-up of header file includes all over
14992         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14993
14994 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14995
14996         * paragraph.h: renamed from lyxparagraph.h
14997
14998 2001-06-23  Asger  <lyx@violet.home.sad.it>
14999
15000         * Buffer.h: Removed Buffer::resize
15001         * BufferList.h: Removed BufferList::resize
15002         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15003         the document lazily when we change the width, or the font settings.
15004
15005 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15008
15009 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15010
15011         * buffer.h: remove out of date comment
15012
15013 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15014
15015         * lyxscreen.h:
15016         * screen.C: fix "theoretical" GC leak
15017
15018 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15019
15020         * LaTeX.C (scanAuxFile):
15021         (deplog): remove trailing \r when reading stream (useful under
15022         win32)
15023
15024 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15025
15026         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15027         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15028         and BufferView::theLockingInset(Inset*), so should use them and not
15029         access bv_->text->the_locking_inset directly.
15030
15031         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15032
15033 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * Makefile.am:
15036         * tex-defs.h: remove old unused file
15037
15038 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15039
15040         * BufferView_pimpl.C: fix typo, remove minibuffer message
15041           when buffer has loaded
15042
15043 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * lyxfunc.C (Dispatch): use stringstream
15046         (MenuNew): use stringstream
15047         (Open): use stringstream
15048
15049         * importer.C (Import): use stringstream
15050
15051         * bufferview_funcs.C (CurrentState): use stringstream
15052
15053         * LaTeX.C (run): use stringstream
15054
15055         * BufferView_pimpl.C (savePosition): use stringstream
15056         (restorePosition): use stringstream
15057         (MenuInsertLyXFile): use stringstream
15058
15059 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15060
15061         * BufferView.C:
15062         * Bullet.C:
15063         * ColorHandler.C:
15064         * FontInfo.C:
15065         * FontLoader.C:
15066         * LColor.C:
15067         * LaTeXFeatures.C:
15068         * Painter.C:
15069         * gettext.C:
15070         * lyx_gui_misc.C:
15071         * lyxserver.C:
15072         * vspace.C: removed // -*- C++ -*- as first line.
15073
15074         * lyxfind.h:
15075         * version.h: added // -*- C++ -*- as first line.
15076
15077 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15078
15079         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15080
15081         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15082         of string
15083
15084 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15085
15086         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15087         of floats.
15088
15089 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15090
15091         * gettext.C: include LString.h even when --disable-nls is on.
15092
15093 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15094
15095         * converter.h (Get): changed argument type from int to
15096         FormatList::size_type to avoid unnecessary conversion.
15097
15098         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15099         before using it.
15100
15101 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15102
15103         * gettext.h: include LString.h even when --disable-nls is on.
15104
15105 2001-06-07  Juergen Vigna  <jug@sad.it>
15106
15107         * text.C (BreakAgain): subst spaces with tabs.
15108
15109         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15110         (resizeInsetsLyXText): set force on resizeLyXText.
15111
15112 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15113
15114         * gettext.h (gettext_init):
15115         (locale_init): use a real definition instead of a macro
15116
15117 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15118
15119         * Bufferview_pimpl.C:
15120         * LColor.h:
15121         * LColor.C: further lcolor tidies
15122
15123 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15124
15125         * BufferView_pimpl.C (updateScrollbar): simplify.
15126
15127         * BufferView2.C: don't include insets/insetinfo.h, change
15128         prototype for insertInset and call the Pimpl version. let
15129         updateInset call Pimpl version.
15130
15131         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15132         gotoInset to BufferView::Pimpl
15133
15134 2001-06-01  Juergen Vigna  <jug@sad.it>
15135
15136         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15137         inside a LockingInset (is the update needed at all?).
15138
15139 2001-05-31  Juergen Vigna  <jug@sad.it>
15140
15141         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15142         here not the old one otherwise how should we compare it afterwards
15143         if it's the same!
15144
15145 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15146
15147         * lyxfont.C:
15148         * tabular.C:
15149         * tabular-old.C:
15150         * FontInfo.C: bring C functions into global namespace when
15151         necessary
15152
15153 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * LString.h: make sure config.h has been loaded before LString.h.
15156
15157         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15158         (one for each char read by EatLine!).
15159
15160         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15161         variables.
15162
15163 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15164
15165         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15166         to the same as the par we break from
15167
15168 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15171
15172         * MenuBackend.C (expand): also create menu entries for wide
15173         versions of the floats.
15174
15175         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15176
15177         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15178
15179         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15180         frontends/Makefile.am
15181
15182         * text2.C: adjust
15183         * text.C: adjust
15184
15185
15186         * tabular.C (getTokenValue): add std::
15187
15188         * tabular-old.C (getTokenValue): add std::
15189         (getTokenValue): ditto
15190         (getTokenValue): ditto
15191
15192         * screen.C (ToggleSelection): adjust
15193
15194         * lyxtext.h: put selection cursors inside a Selection struct.
15195
15196         * lyxfunc.C (moveCursorUpdate): adjust
15197
15198         * lyxfont.C (latexWriteStartChanges): add std::
15199
15200         * lyxfind.C: adjust
15201
15202         * font.h: delete with(char const *, LyXFont const &)
15203
15204         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15205
15206         * FontInfo.C (getFontname): add std::
15207
15208         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15209         (workAreaButtonPress): adjust
15210         (tripleClick): adjust
15211         (update): adjust
15212         (moveCursorUpdate): adjust
15213         (Dispatch): adjust
15214
15215         * BufferView2.C (gotoInset): adjust
15216
15217 2001-05-30  Juergen Vigna  <jug@sad.it>
15218
15219         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15220         to check pspell I add this as default as I now have new pspell
15221         libraries and they seem to use this.
15222
15223 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15224
15225         * text2.C (CutSelection): make the cursor valid before the call to
15226         ClearSelection.
15227
15228 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15231         relied on 0 terminated strings and other horrors. Bug found due to
15232         the new assert in lyxstring!
15233
15234         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15235         KP_ keys.
15236
15237 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15238
15239         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15240         to latinkeys.bind.
15241
15242         * lyxfunc.C (processKeySym): change method of getting to the
15243         self-insert char.
15244
15245         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15246         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15247         * BufferView_pimpl.[Ch]: here as private methods.
15248
15249 2001-05-28  Juergen Vigna  <jug@sad.it>
15250
15251         * text.C (SetHeightOfRow): added the update() call again as it is
15252         needed to initialize inset dimensions!
15253
15254 2001-05-16  Juergen Vigna  <jug@sad.it>
15255
15256         * text2.C (SetCharFont): Add new function with BufferView * and
15257         bool toggleall parameters for setting insets internal fonts.
15258         (SetFont): Freeze the undo as we may change fonts in Insets and
15259         all this change should be inside only one Undo!
15260
15261         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15262         setting font's in insets as for them we have the SetFont function!
15263
15264 2001-05-15  Juergen Vigna  <jug@sad.it>
15265
15266         * text2.C (ClearSelection): to be sure we REALLY don't have any
15267         selection anymore!
15268
15269         * tabular.C (TeXCellPreamble): fixed the left border problem for
15270         multicolumn cells.
15271
15272 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15273
15274         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15275         dependancy file
15276
15277 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15278
15279         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15280         LFUN_BREAKPARAGRAPH.
15281
15282         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15283         help test to "internal only", similar for LFUN_INSERT_URL
15284
15285         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15286         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15287         auto_region_delete and deadkeys.
15288
15289 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15290
15291         * LColor.h:
15292         * LColor.C: remove some dead entries, tidy a little
15293
15294 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15297         commented code.
15298         (Dispatch): implement LFUN_ESCAPE
15299
15300         * commandtags.h: add LFUN_ESCAPE
15301
15302         * LyXAction.C (init): add entry for LFUN_ESCAPE
15303
15304         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15305         Remove commented code.
15306         (insertNote): moved here
15307         (open_new_inset): moved here
15308
15309         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15310         BufferView_pimpl
15311
15312 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * kbmap.C (findbinding): clean it up and make it work correctly.
15315
15316         * lyx_main.C (init): do not pass argc and argv as parameters
15317
15318 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15319
15320         * buffer.C: fix path for OS/2 & Win32
15321
15322         * lyx_gui.C:
15323         * lyx_main:
15324         * lyx_main.C: Added os:: class.
15325
15326         * os2_defines.h: update
15327
15328 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15329
15330         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15331         better by trying again with reduced state.
15332
15333 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15334
15335         * lyxrc.C (read): print error about invalid key sequence only when
15336         debugging (because not all latinX keysyms are known to some X
15337         servers)
15338
15339         * kbsequence.C (getiso): add a few std:: qualifiers
15340         (getiso): comment out extra return statement.
15341
15342 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15343
15344         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15345         handling.
15346         (Dispatch): enhance the accent inset a bit. (not perfect)
15347
15348 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15349
15350         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15351
15352 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15353
15354         * bufferlist.C (emergencyWrite): fix assert() call
15355
15356 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15357
15358         * text.C (InsertChar): Added trivial patch to only send the "you
15359         can not do multiple spaces this way" message once during a
15360         session.
15361
15362 2001-05-08  Baruch Even  <baruch@lyx.org>
15363
15364         * Makefile.am: Changed order of libraries to get LyX to link properly
15365         with the gnome frontend.
15366
15367 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15368
15369         * LaTeXFeatures.h: add a std:: qualifier
15370
15371 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * paragraph.C (String): use stringstream
15374
15375 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * paragraph.C (writeFile): remove footflag arg
15378
15379         * buffer.C (makeLaTeXFile): use stringstream
15380         (latexParagraphs): remove footnot gurba
15381
15382         * LaTeXFeatures.C (getPackages): use stringstream
15383         (getMacros): likewise
15384         (getTClassPreamble): likewise
15385         (getFloatDefinitions): new method
15386
15387         * paragraph.C (writeFile): reindent
15388         (Erase): reindent
15389
15390         * WorkArea.h: revert the xpos + etc changes.
15391
15392         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15393
15394         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15395
15396         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15397         (pasteSelection): likewise
15398         * text2.C (CreateUndo): likewise
15399
15400 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15401
15402         * minibuffer.C (peek_event): temporarily reduce the functionality
15403         of the minibuffer (to allow args on lfuns)
15404
15405         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15406         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15407
15408         * buffer.C (readInset): add compability reading of old float
15409         lists, add reading of new style float list.
15410         (readInset): avoid reevaluation of inscmd.getCmdName()
15411         (getLists): reindent
15412
15413         * MenuBackend.C (MenuItem): implement parsing of
15414         md_floatlistinsert and md_floatinsert.
15415         (expand::LastFiles): move initalizaton of iterators out of loop,
15416         avoid reevaluation.
15417         (expand::Documents): introduce typdedef vector<string> Strings,
15418         and use it.
15419         (expand::ExportFormats): introduce typedef vector<Format const *>
15420         Formats, and use it.
15421         (expand): implement FloatListInsert and FloatInsert.
15422
15423         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15424         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15425         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15426
15427         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15428         handling.
15429         (Dispatch::LFUN_FLOAT_LIST): implement
15430
15431 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15432
15433         * LaTeX.C (run): Fix problem with --export code.
15434
15435 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15436
15437         * BufferView.[Ch] (workarea): removed.
15438         (getClipboard) new method; wrapper for workarea()->getClipboard()
15439
15440         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15441         bug.
15442
15443         * WorkArea.h (width, height, xpos, ypos): These methods all
15444         returned the dimensions of the work_area sub-area of WorkArea,
15445         resulting in a position error if the WorkArea were resized. Now
15446         return the dimensions of the entire WorkArea.
15447
15448         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15449
15450 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15451
15452         * LaTeX.C (deplog): correct the syntax of regex reg1
15453
15454 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15455
15456         * undo.C: remove !NEW_INSETS cruft
15457
15458 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15459
15460         * text2.C: remove !NEW_INSETS cruft
15461
15462         * text.C: remove !NEW_INSETS cruft
15463
15464         * tabular.C: remove !NEW_INSETS cruft
15465
15466         * spellchecker.C: remove !NEW_INSETS cruft
15467
15468         * lyxtext.h: remove !NEW_INSETS cruft
15469
15470         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15471
15472         * lyxfunc.C: remove !NEW_INSETS cruft
15473
15474         * lyxfind.C: remove !NEW_INSETS cruft
15475
15476         * lyx_cb.C: remove !NEW_INSETS cruft
15477
15478         * figureForm.C: remove  !NEW_INSETS cruft
15479
15480         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15481
15482         * buffer.[Ch]: remove !NEW_INSETS cruft
15483
15484         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15485
15486         * CutAndPaste.C: remove !NEW_INSETS cruft
15487
15488         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15489
15490         * BufferView2.C: remove !NEW_INSETS cruft
15491
15492         * BufferView.h: remove !NEW_INSETS cruft
15493
15494 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15495
15496         * Lsstream.h: include LString.h before the sstream headers to
15497         fix problem with gcc 2.95.3 and lyxstring
15498
15499 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15500
15501         * lyx_main.C: add using directives when needed for C functions
15502         declared in std:: namespace.
15503
15504 2001-04-27  Juergen Vigna  <jug@sad.it>
15505
15506         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15507         (SetHeightOfRow): comment out the update call should not be needed!
15508
15509 2001-04-13  Juergen Vigna  <jug@sad.it>
15510
15511         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15512         (LyXTabular): tried to minimize operator= operations (and realized
15513         hopfully Lars wish).
15514
15515 2001-04-27  Juergen Vigna  <jug@sad.it>
15516
15517         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15518
15519 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15522
15523         * buffer.C (readInset): hack to make listof algorithm work
15524
15525         * BufferView_pimpl.C: hack to make listof algorithm work
15526
15527 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15528
15529         * LyXAction.C: removed all !NEW_INSETS cruft
15530         (init): moved lfun_item in method
15531
15532         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15533
15534 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15535
15536         * BufferView2.C (theLockingInset): white space.
15537
15538 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15539
15540         * minibuffer.C: include <iostream>
15541
15542         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15543
15544         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15545
15546         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15547
15548         * text.[Ch] (TransposeChars): new method
15549
15550 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15551
15552         * call message directly through LyXView instead of through LyXFunc
15553         * BufferView2.C: adjust
15554         * BufferView_pimpl.C: adjust
15555         * FontLoader.C: adjust
15556         * buffer.C: adjust
15557         * bufferview_funcs.C: adjust
15558         * converter.C: adjust
15559         * figureForm.C: adjust
15560         * importer.C: adjust
15561         * lyx_cb.C: adjust
15562         * lyx_gui_misc.C: adjust
15563         * lyxfunc.C: adjust
15564         * lyxvc.C: adjust
15565         * text2.C: adjust
15566         + more files in subdirs
15567
15568         * lyxparagraph.h (size): move up int file
15569         (GetLayout): ditto
15570
15571         * adjust all uses of Assert to lyx::Assert.
15572
15573         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15574         lyxfunctional in namespace lyx
15575         * layout.C (hasLayout): ditto
15576         (GetLayout): ditto
15577         (GetLayout): ditto
15578         (delete_layout): ditto
15579         (NumberOfClass): ditto
15580         * converter.C (GetFormat): ditto
15581         (GetNumber): ditto
15582         (Add): ditto
15583         (Delete): ditto
15584         (SetViewer): ditto
15585         * bufferlist.C (getFileNames): ditto
15586         (emergencyWriteAll): ditto
15587         (exists): ditto
15588         (getBuffer): ditto
15589         * MenuBackend.C (hasSubmenu): ditto
15590         (hasMenu): ditto
15591         (getMenu): ditto
15592         * BufferView_pimpl.C (getInsetByCode): ditto
15593
15594 2001-04-18  Juergen Vigna  <jug@sad.it>
15595
15596         * vspace.C (asLatexString): fixed the 100% problem.
15597
15598 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15599
15600         * lyxfunc.C (Dispatch):
15601         * minibuffer.C:
15602         * minibuffer.h: add a few std:: qualifiers
15603
15604 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15605
15606         * minibuffer.[Ch]: reimplement so that commands is initiated and
15607         run from lyxfunc, simplified som handling, and made the completion
15608         and history code for complete. wip.
15609
15610         * lyxfunc.C (processKeySym): call message
15611         (miniDispatch): new temporary method
15612         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15613         (LFUN_MESSAGE): implement
15614         (LFUN_MESSAGE_PUSH): implement
15615         (LFUN_MESSAGE_POP): implement
15616         (initMiniBuffer): the initial/defualt minibuffer message.
15617
15618         * lyxfont.[Ch]: inline some more getters
15619
15620         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15621
15622         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15623
15624         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15625         (AutoSave): use LFUN_MESSAGE
15626         (Reconfigure): ditto
15627
15628         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15629
15630         * figureForm.C: use LFUN_MESSAGE
15631
15632         * converter.C (runLaTeX): use LFUN_MESSAGE
15633
15634         * bufferview_funcs.C: use LFUN_MESSAGE
15635         (Melt): ditto
15636         (changeDepth): ditto
15637
15638         * bufferparams.h: use boost::
15639
15640         * bufferlist.h: inherit privately from noncopyable
15641
15642         * bufferlist.C (loadLyXFile): remove some commented code.
15643
15644         * buffer.C (runChktex): use LFUN_MESSAGE
15645
15646         * ShareContainer.h: inherit privately from noncopyable
15647
15648         * ParagraphParameters.[hC] (depth): inline it.
15649
15650         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15651         methods.
15652         (message): new method
15653         (messagePush): ditto
15654         (messagePop): ditto
15655         (show): init minibuffer
15656         (showState): direct call
15657
15658         * LaTeX.[Ch]: inherit privately from noncopyable
15659         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15660         instead of WriteStatus.
15661
15662         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15663
15664         * BufferView_pimpl.C (buffer): don't init minibuffer
15665         (workAreaButtonPress): use LFUN_MESSAGE
15666         (workAreaButtonRelease): ditto
15667         (savePosition): ditto
15668         (restorePosition): ditto
15669         (MenuInsertLyXFile): ditto
15670         (workAreaExpose): don't init minibuffer
15671         (update): remove commented code, simplify
15672
15673         * BufferView2.C (openStuff): use LFUN_MESSAGE
15674         (toggleFloat): ditto
15675         (menuUndo): ditto
15676         (menuRedo): ditto
15677         (copyEnvironment): ditto
15678         (pasteEnvironment): ditto
15679         (copy): ditto
15680         (cut): ditto
15681         (paste): ditto
15682         (gotoInset): ditto
15683         (updateInset): remove some commented code
15684
15685         * lastfiles.h: inherit privately from noncopyable
15686         * layout.h: ditto
15687         * lyx_gui.h: ditto
15688         * lyx_main.h: ditto
15689         * lyxlex.h: ditto
15690         * lyxlex_pimpl.h: ditto
15691
15692         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15693         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15694         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15695
15696         * LyXAction.h: inherit privately from noncopyable, add methods
15697         func_begin, func_end, returning iterators to the func map.
15698
15699         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15700         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15701         (func_begin): new method
15702         (func_end): new method
15703
15704         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15705         and not)
15706         (copySelection): ditto
15707         (pasteSelection): ditto
15708
15709         * BufferView.C: whitespace change
15710         * BufferView.h: inherit privately from noncopyable
15711
15712 2001-04-16  Allan Rae  <rae@lyx.org>
15713
15714         * tabular-old.C (l_getline):
15715         * spellchecker.C (sc_check_word):
15716         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15717         an unrecognised preprocessor directive.  So ensure they're wrapped.
15718
15719 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15720
15721         * src/exporter.C (Export): Give an error message when path to file
15722         contains spaces.
15723
15724 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15725
15726         * LaTeX.C (deplog): Always check that foundfile exists.
15727
15728 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * lyx_main.h:
15731         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15732
15733 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15734
15735         * tabular.[Ch] (getLabelList): implement new method
15736
15737         * minibuffer.h: comment ouf setTiimer
15738
15739         * minibuffer.C (ExecutingCB): constify res
15740         (peek_event): constify s
15741         (Set): constify ntext
15742         (Init): constify nicename
15743
15744         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15745
15746         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15747         (savePosition): use two params to Minibuffer::Set
15748         (restorePosition): ditto
15749
15750 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15751
15752         * lyx_main.C: include language.h
15753
15754         * Makefile.am (lyx_main.o): add language.h
15755
15756 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15757
15758         * exporter.C:
15759         * paragraph.C:
15760         * screen.C:
15761         * tabular.C:
15762         * CutAndPaste.C: include gettext.h
15763
15764         * lyxfont.h: remove old hack with ON and OFF.
15765
15766         * lyxparagraph.h:
15767         * lyxfont.h: do not include language.h...
15768
15769         * BufferView2.C:
15770         * LaTeXFeatures.C:
15771         * Painter.C:
15772         * bufferview_funcs.C:
15773         * font.C:
15774         * lyxfont.C:
15775         * text.C:
15776         * text2.C:
15777         * trans_mgr.C:
15778         * paragraph.C: ... but do it here instead
15779
15780 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15781
15782         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15783
15784         * tabular.C: small reformat
15785
15786         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15787         NEW_INSETS version
15788         (GetChar): ditto
15789         (BreakParagraph): ditto
15790         (SetOnlyLayout): ditto
15791         (SetLayout): ditto
15792
15793         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15794         with one arg less.
15795
15796         * lastfiles.C: removed most using decl, add std:: where needed
15797
15798         * buffer.C: ws changes
15799
15800         * MenuBackend.C (class compare_format): put into anon namespace
15801         (expand): constify label, names, action, action2
15802         (expand):
15803
15804         * text.C (SingleWidth): constify font
15805         (IsBoundary): constify rtl2
15806         (GetVisibleRow): constify ww
15807
15808         * LaTeX.C (deplog): constify logfile
15809
15810         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15811         start_x, end_x
15812         (workAreaExpose): constify widthChange, heightChange
15813
15814         * lyxrow.C (par): moved
15815         (height): moved
15816         (next): moved
15817         * lyxrow.h: as inlines here
15818
15819         * lyxfont.h (shape): moved from lyxfont.C
15820         (emph): moved from lyxfont.C
15821
15822         * lyxfont.C (LyXFont): use initialization list for all
15823         constructors
15824         (shape): move to lyxfont.h as inline
15825         (emph): move to lyxfont.h as inline
15826
15827
15828 2001-04-04  Juergen Vigna  <jug@sad.it>
15829
15830         * vspace.C: had to include stdio.h for use of sscanf
15831
15832 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15833
15834         * BufferView.h:
15835         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15836         independent of xforms.
15837
15838 2001-04-02  Juergen Vigna  <jug@sad.it>
15839
15840         * spellchecker.C: fixed namespace placing!
15841
15842 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15843
15844         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15845         the LyXParagraph * is 0.
15846
15847 2001-03-29  Juergen Vigna  <jug@sad.it>
15848
15849         * vspace.C: added support for %, c%, p%, l%.
15850         (stringFromUnit): added helper function.
15851         (asLatexString): changed to give right results for the %-values.
15852
15853         * buffer.C: convert the widthp in a width%.
15854
15855 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15856
15857         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15858         figureForm.[Ch].
15859
15860         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15861         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15862
15863         * lyx_cb.[Ch]: see above.
15864
15865         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15866         form1.[Ch].
15867
15868         * form1.[Ch]:
15869         * lyx.[Ch]: replaced by figure_form.[Ch].
15870
15871         * lyx_gui.C:
15872         * lyx_gui_misc.C:
15873         * lyxfunc.C: changed headers associated with above changes.
15874
15875 2001-03-27  Juergen Vigna  <jug@sad.it>
15876
15877         * BufferView_pimpl.C: set the temporary cursor right!
15878
15879 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15880
15881         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15882
15883 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15884
15885         * LString.h: removed "using std::getline"!
15886
15887         * BufferView_pimpl.C (Dispatch): changes due to changes in
15888         InsetInclude::Params.
15889
15890         * buffer.C (tag_name): removed redundant break statements as they were
15891         producing lots of warnings with my compiler.
15892
15893 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * LString.h: add "using std::getline" when using the real <string>.
15896
15897 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15898
15899         * buffer.C: removed bitset usage.
15900         PAR_TAG moved to an anonymous name space.
15901         (tag_name): new funtion, also in the anonymous namespace.
15902         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15903         (makeDocBookFile): clean code. Completed transition from string arrays
15904         to string vectors.
15905         (SimpleDocBookOnePar): code clean.
15906
15907 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15908
15909         * tabular.C: add some comments.
15910
15911 2001-03-22  Juergen Vigna  <jug@sad.it>
15912
15913         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15914         compatibility read a bit and fixed bug with minipage in different
15915         depth.
15916
15917 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15918
15919         * buffer.C (pop_tag): removed.
15920         (push_tag): removed.
15921         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15922         array replaced with vector. Added support for CDATA sections.
15923         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15924         at any nest level.
15925         (makeDocBookFile): XML conformant declaration of CDATA section,
15926         fixed bug related to <emphasis> in the first paragraph char.
15927         (sgmlOpenTag): exclude empty tags.
15928         (sgmlCloseTag): ditto.
15929
15930         * buffer.h (pop_tag): removed.
15931         (push_tag): removed.
15932
15933 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15934
15935         * language.h (Languages): added size_type and size().
15936
15937 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15938
15939         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15940         response on compability reading of minipages. One probliem is that
15941         the old usage of minipages was «flertydig»
15942
15943         * several files here and in subdirs: don't use static at file
15944         scope use anon namespaces instead.
15945
15946 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15947
15948         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15949         LaTeX output. This is necessary for Literate document
15950         processing.
15951
15952 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15953
15954         * buffer.C: insert hfill when needed.
15955
15956         * tabular.C (l_getline): use string::erase, small whitespace change.
15957
15958         * BufferView_pimpl.C: try the anon namespace.
15959         * WorkArea.C: ditto
15960
15961 2001-03-16  Juergen Vigna  <jug@sad.it>
15962
15963         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15964         otherwise it won't open options-dialogs.
15965
15966         * buffer.C: honor pextraWidth(p) on converting minipages.
15967
15968         * tabular.C (l_getline): changed the functions to strip trailing \r.
15969
15970 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15971
15972         * BufferView_pimpl.C:
15973         * minibuffer..C: added "using SigC::slot" declaration.
15974
15975 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15976
15977         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15978
15979         * text2.C: ditto
15980
15981         * text.C: ditto
15982
15983         * paragraph.C: ditto
15984
15985         * lyxtext.h: NO_PEXTRA
15986
15987         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15988
15989         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15990         * ParameterStruct.h: ditto
15991         * ParagraphParameters.h: ditto
15992         * lyxparagraph.h: ditto
15993
15994 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15995
15996         * buffer.C: add compability for minipage alignment.
15997         (latexParagraphs): remove unwanted pextra check.
15998
15999         * several files: remove CXX_WORKING_NAMESPACES
16000
16001         * buffer.C (pop_tag): tie is in namespace boost
16002
16003         * BufferView.h: noncopyable is in namespace boost
16004         * lyxlex.h: ditto
16005         * lyx_main.h: ditto
16006         * lyx_gui.h: ditto
16007         * layout.h: ditto
16008         * lastfiles.h: ditto
16009         * bufferlist.h: ditto
16010         * ShareContainer.h: ditto
16011         * LyXView.h: ditto
16012         * LyXAction.h: ditto
16013         * LaTeX.h: ditto
16014
16015 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16016
16017         * Merging changes from BRANCH_MVC back into HEAD.
16018
16019         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16020
16021 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16022
16023         * BufferView_pimpl.C: change from intl.C
16024
16025         * combox.h:
16026         * combox.C:
16027         * Makefile.am: move combox.*
16028
16029         * form1.h:
16030         * form1.C:
16031         * lyx_gui.C:
16032         * intl.h:
16033         * intl.C: remove dialog (covered by prefs)
16034
16035 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16036
16037         * lyxfunc.C (Dispatch): removed redundant break statement.
16038
16039 2001-03-14  Juergen Vigna  <jug@sad.it>
16040
16041         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16042
16043 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16044
16045         * buffer.C: add hack to fix compability reading of minipages.
16046
16047 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16048
16049         * buffer.C (getLists): Cleanup.
16050
16051 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16052
16053         * lyxfont.C (update): don't honor toggleall on font size.
16054
16055 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16056
16057         * bmtable.c:
16058         * bmtable.h:
16059         * Makefile.am: moved to frontends/xforms/
16060
16061         * lyx_gui_misc.C:
16062         * lyxfunc.C:
16063         * BufferView_pimpl.C: changes for moved mathpanel
16064
16065 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16066
16067         * gettext.h: fix gettext_init() in --disable-nls
16068
16069 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16070
16071         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16072
16073 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16074
16075         * lyx.C:
16076         * lyx.h: strip external form
16077
16078 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16079
16080         * BufferView_pimpl.C: add comment, destroySplash()
16081
16082 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16083
16084         * BufferView_pimpl.C:
16085         * LyXAction.C:
16086         * buffer.C:
16087         * commandtags.h:
16088         * lyxfunc.C: use re-worked insetinclude
16089
16090 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16091
16092         * buffer.C: add using std::stringstream.
16093
16094         * lyx_cb.C: readd using std::ios.
16095
16096         * buffer.C: add using std::map.
16097
16098         * BufferView_pimpl.C: add using std::vector.
16099
16100         * ShareContainer.h: add std:: to swap.
16101
16102         * buffer.h: add some typedefs
16103         * buffer.C (getLists): use them
16104         (getLists): renamed from getTocList.
16105         add a counter for the different float types and use it in the
16106         generated string.
16107         (getLists): use the same counter for the NEW_INSETS and the "non"
16108         NEW_INSETS
16109
16110         * lyx_cb.h: remove unused items, includes, using etc.
16111
16112         * ShareContainer.h: remove some commented code, add more comments
16113         and "documentation".
16114
16115 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16116
16117         * buffer.C (getTocList): make the list also when NEW_INSETS is
16118         defined.
16119
16120         * buffer.h: remove TocType
16121
16122         * buffer.C (getTocList): change to return a map<string,
16123         vector<TocItem> >, implement for dynamic number of list.
16124
16125         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16126         * text2.C (PasteSelection): adjust
16127         * CutAndPaste.C (pasteSelection): adjust
16128
16129         * FloatList.C (FloatList): update from the new_insets branch.
16130         * Floating.[Ch]: ditto
16131         * LaTeXFeatures.C: ditto
16132         * buffer.C: ditto
16133         * lyxlex_pimpl.C: ditto
16134
16135         * paragraph.C (Last): remove when NEW_INSETS is defined.
16136
16137         * other file: changes because of the above.
16138
16139 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16140
16141         * lyxparagraph.h: rename next to next_, previous to previous_,
16142         make them private for NEW_INSETS. Rename Next() to next(),
16143         Previous() to previous().
16144
16145         * other files: changes because of the above.
16146
16147 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16148
16149         * BufferView.h:
16150         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16151         problem.
16152
16153 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16154
16155         * main.C (main): pass lyx_localedir to gettext_init().
16156
16157         * gettext.h: remove locale_init and gettext_init macros
16158
16159         * gettext.C (locale_init): new function
16160         (gettext_init): new function
16161
16162         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16163         setlocale().
16164
16165 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16166
16167         * Moved credits to frontends:
16168         * credits.[Ch]: removed
16169         * credits_form.[Ch]: removed
16170         * lyx_gui_misc.C: remove credits stuff
16171         * Makefile.am:
16172
16173 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16174
16175         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16176
16177         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16178         unneeded destructor.
16179
16180         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16181         a standalone pointer again.
16182
16183         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16184
16185 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16186
16187         * Makefile.am:
16188         * filedlg.h:
16189         * filedlg.C:
16190         * LyXAction.C:
16191         * ToolbarDefaults.C:
16192         * bufferlist.C:
16193         * commandtags.h:
16194         * form1.C:
16195         * form1.h:
16196         * lyx_cb.C:
16197         * lyx_cb.h:
16198         * lyxfunc.h:
16199         * lyxfunc.C:
16200         * BufferView_pimpl.C: use new file dialog in GUII
16201
16202         * lyx_cb.h:
16203         * lyx_cb.C: remove LayoutsCB to Toolbar
16204
16205 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * ShareContainer.h (get): add std:: qualifier
16208
16209 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16210
16211         * ShareContainer.h: define a proper ShareContainer::value_type
16212         type (and use typename to please compaq cxx)
16213
16214 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16215
16216         * lyxparagraph.h: move serveral local vars to
16217         ParameterStruct/ParagraphParameters., use ShareContainer in
16218         FontTable., make vars in FontTable private and add getter and
16219         setter.
16220
16221         * paragraph.C: changes because of the above.
16222
16223         * lyxfont.h: remove copy constructor and copy assignment. (the
16224         default ones is ok), move number inside FontBits. move inlines to
16225         lyxfont.C
16226
16227         * lyxfont.C: add number to initializaton of statics, move several
16228         inlines here. constify several local vars. some whitespace
16229         cleanup. Dont hide outerscope variables.
16230
16231         * Spacing.h: add two new constructors to match the set methods.
16232
16233         * ShareContainer.h: new file, will perhaps be moved to support
16234
16235         * ParameterStruct.h: new file
16236
16237         * ParagraphParameters.h: new file
16238
16239         * ParagraphParameters.C: new file
16240
16241         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16242         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16243
16244         * BufferView_pimpl.C: ParagraphParameter changes.
16245         * buffer.C: Likewise.
16246         * bufferview_funcs.C: Likewise.
16247         * text.C: Likewise.
16248         * text2.C: Likewise.
16249
16250 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16251
16252         * lyxfind.C (LyXReplace): do not redefine default argument in
16253         implementation.
16254         (IsStringInText): ditto
16255         (SearchForward): ditto
16256         (SearchBackward): ditto
16257
16258 2001-03-06  Juergen Vigna  <jug@sad.it>
16259
16260         * lyxfind.C (IsStringInText): put parentes around expressions.
16261
16262 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16263
16264         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16265
16266 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16267
16268         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16269
16270         * stl_string_fwd.h: add comment
16271
16272         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16273
16274         * tabular.h:
16275         * tabular.C: remove unused DocBook methods
16276
16277         * intl.C:
16278         * language.C:
16279         * paragraph.C:
16280         * buffer.C:
16281         killed DO_USE_DEFAULT_LANGUAGE
16282
16283 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16284
16285         * lyx_gui.C: do not include language.h.
16286
16287         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16288         arguments in function implementation.
16289
16290 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16291
16292         * BufferView_pimpl.C: add <ctime>
16293
16294 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16295
16296         * BufferView_pimpl.C: add using std::find_if
16297
16298 2001-02-27  José Matos  <jamatos@fep.up.pt>
16299
16300         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16301         by OnlyPath.
16302
16303 2001-02-11  José Matos  <jamatos@fep.up.pt>
16304
16305         * buffer.C (makeDocBookFile): command styles now have a parameter as
16306         "title" by default.
16307
16308 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16309
16310         * layout_forms.[Ch]: removed
16311         * lyx_cb.[Ch]: out character
16312         * lyx_gui.C: out character
16313         * lyx_gui_misc.C: out character
16314         * bufferview_funcs.C: : out character,
16315         added toggleall as parameter in ToggleAndShow
16316
16317 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16318
16319         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16320
16321         * text2.C (SetCurrentFont): Disable number property at boundary.
16322
16323 2001-02-26  Juergen Vigna  <jug@sad.it>
16324
16325         * lyxfunc.C (getStatus): added a string argument override function so
16326         that this is correctly called from LyXFunc::Dispatch if it contains a
16327         do_not_use_argument which is used!
16328         (Dispatch): added check for "custom" export and call appropriate func.
16329
16330 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16331
16332         * lyxrc.C: Add language_command_local, language_use_babel and
16333         language_global_options.
16334
16335         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16336
16337         * buffer.C (makeLaTeXFile): Use language_use_babel and
16338         language_global_options.
16339
16340 2001-02-23  Juergen Vigna  <jug@sad.it>
16341
16342         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16343         which works with LyXText and putted it inside BufferView. Here now we
16344         only call for that part the BufferView::Dispatch() function.
16345
16346         * BufferView.C (Dispatch): added.
16347
16348         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16349         functions which needs to use a LyXText over from LyXFunc.
16350         (MenuInsertLyXFile): added
16351         (getInsetByCode): added
16352         (moveCursorUpdate): added
16353         (static TEXT): added
16354
16355 2001-02-22  Juergen Vigna  <jug@sad.it>
16356
16357         * BufferView_pimpl.C (update): call a status update to see if LyXText
16358         needs it.
16359
16360 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16361
16362         * vc-backend.C (revert): implement for CVS
16363         (getLog): implement for CVS
16364
16365 2001-02-20  Juergen Vigna  <jug@sad.it>
16366
16367         * text2.C (ClearSelection): added BufferView param for inset_owner call
16368
16369         * lyxfunc.C (TEXT): added this function and use it instead of
16370         directly owner->view()-text of getLyXText().
16371
16372 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16373
16374         * src/layout_forms.C: out preamble
16375         * src/layout_forms.h: out preamble
16376         * src/lyx_cb.C: out preamble
16377         * src/lyx_cb.h: out preamble
16378         * src/lyx_gui.C: out preamble
16379         * src/lyx_gui_misc.C: out preamble
16380         * src/lyxfunc.C: connect with guii preamble
16381
16382 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16383
16384         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16385
16386 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16387
16388         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16389         whether to run bibtex.
16390
16391 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16392
16393         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16394
16395 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16396
16397         * Makefile.am (lyx_SOURCES): removed bibforms.h
16398
16399         * vspace.h: doxygen
16400
16401         * text.C (GetVisibleRow): make several local vars const
16402
16403         * tabular.C: small cleanup.
16404
16405         * lyxserver.C (callback): use compare instead of strncmp
16406
16407         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16408         inlines to after class or to paragraph.C
16409
16410         * lyxfont.h: remove friend operator!=
16411
16412         * converter.h: move friend bool operator< to non friend and after
16413         class def.
16414
16415         * combox.h: small cleanup
16416
16417         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16418         to inlines after class def.
16419
16420         * buffer.C (pop_tag): use string operations instead of strcmp
16421
16422         * bmtable.c: doxygen, small cleanup
16423
16424         * LaTeX.h: remove friend operator==
16425
16426 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16427
16428         * screen.C:
16429         * lyxrc.[Ch]:
16430         * lyxfunc.C:
16431         * lyxfont.[Ch]:
16432         * lyx_cb.C:
16433         * intl.[Ch]:
16434         * commandtags.h:
16435         * buffer.C:
16436         * WorkArea.[Ch]:
16437         * LyXAction.C:
16438         * BufferView_pimpl.C:
16439         * BufferView.[Ch]: remove cruft
16440
16441 2001-02-14  Juergen Vigna  <jug@sad.it>
16442
16443         * lyxfunc.C: removed #if 0 unused code
16444
16445         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16446
16447         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16448
16449         * text2.C (SetSelection): added a BufferView * parameter
16450
16451 2001-02-13  Juergen Vigna  <jug@sad.it>
16452
16453         * lyxfunc.C (Dispatch): fixed protected blank problem.
16454         * BufferView2.C (protectedBlank): added LyxText * parameter.
16455
16456         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16457         (AppendColumn): same as above for column_info.
16458
16459         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16460         (moveCursorUpdate): use a LyXText param for support of InsetText.
16461
16462         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16463         (tripleClick): ditto
16464
16465         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16466
16467         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16468
16469         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16470
16471         * text2.C (SetSelection): set correct update status if inset_owner
16472         (ToggleFree): ditto
16473
16474 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16475
16476         * tabular.C: remove some commented code.
16477
16478 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16479
16480         * BufferView_pimpl.C: call hideSplash()
16481
16482         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16483
16484         * include_form.h:
16485         * bibforms.h: remove
16486
16487         * lyxfunc.C:
16488         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16489           add LFUN_CHILD_CREATE
16490
16491         * counters.h: fix tiny typo
16492
16493         * lyx_cb.C:
16494         * lyx.h:
16495         * lyx_gui.C:
16496         * lyx.C: move splash to frontends/xforms/
16497
16498         * lyx_gui_misc.C: move Include and Bibform to frontends
16499
16500         * lyxvc.h: clarify comment
16501
16502         * vspace.C: tiny housekeeping
16503
16504 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * text.C (PrepareToPrint): RTL Fix.
16507
16508         * paragraph.C (GetUChar): New method.
16509         (String):  Use GetUChar.
16510
16511         * buffer.C (asciiParagraph): Use GetUChar.
16512
16513 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16514
16515         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16516
16517 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16518
16519         * buffer.h:
16520         * buffer.C: rename to getLogName(), handle
16521           build log / latex log nicely
16522
16523 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16524
16525         * MenuBackend.C:
16526         * MenuBackend.h: remove support for reference menuitem type.
16527
16528 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16529
16530         * BufferView_pimpl.C: housekeeping
16531         * BufferView_pimpl.h:
16532         * LyXView.h:
16533         * Makefile.am:
16534         * Timeout.C:
16535         * Timeout.h:
16536         * minibuffer.h: move Timeout GUI-I
16537
16538 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16539
16540         * lyxrc.C (read): Update converters data-structures.
16541
16542 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16543
16544         * LaTeX.h (operator!=): add operator != for Aux_Info
16545
16546 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16547
16548         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16549
16550         * LaTeXLog.C: deleted, useful code moved to Buffer
16551
16552         * buffer.h:
16553         * buffer.C: new function getLatexLogName()
16554
16555         * lyx_gui_misc.C:
16556         * lyx_gui.C:
16557         * lyxvc.C:
16558         * lyxvc.h:
16559         * lyxfunc.C: use frontends for LaTeX and VC logs
16560
16561 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16562
16563         * LaTeX.h: yet another std:: that Allan forgot.
16564
16565         * Variables.C (set): renamed from isset(), because this clashes
16566         with some HP-UX macros (grr).
16567
16568 2001-02-06  Allan Rae  <rae@lyx.org>
16569
16570         * LaTeX.h: Another bug fix.  Missing std:: this time.
16571
16572 2001-02-04  Allan Rae  <rae@lyx.org>
16573
16574         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16575         floats problem. I've left it commented out because it's not quite
16576         correct.  It should also test that the current object is a table or
16577         figure inset.  But I haven't gotten around to figuring out how to do
16578         that.  I *think* it'll be something like: "table" == inset.type()
16579
16580         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16581         bool.
16582
16583 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16584
16585         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16586         all the citation/databases/styles in the auxilary file.
16587         (run): Rerun latex if there was a babel language error.
16588
16589 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16590
16591         * text.C (Backspace): Preserve the font when changing newline char
16592         with a space.
16593         (BreakParagraph): If the cursor is before a space, delete the space.
16594
16595         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16596
16597 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16598
16599         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16600         new argument (code).
16601         (ChangeCitationsIfUnique): New method.
16602
16603         * paragraph.C (GetPositionOfInset): Handle bibkey.
16604
16605 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16606
16607         * BufferView_pimpl.h: change type of Position::par_pos to
16608         LyXParagraph::size_type.
16609
16610 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16611
16612         * BufferView_pimpl.C (savePosition, restorePosition): Write
16613         messages to minibuffer.
16614
16615 2001-01-28  José Matos  <jamatos@fep.up.pt>
16616
16617         * buffer.C (makeDocBookFile): adds support for document language.
16618         A silly restriction on the name of LatexCommand types where removed.
16619         Added support for CDATA sections, allows to chars unescaped, used
16620         among others in code, to avoid escape < and >.
16621
16622 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16623
16624         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16625         saved positions instrad of a stack. Furthermore, a position is
16626         stored using paragraph id/paragraph position.
16627
16628         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16629         Remove LFUN_REF_BACK.
16630
16631 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16632
16633         * converter.C (dvipdfm_options): New method.
16634
16635 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16636
16637         * vspace.C (isValidLength): Fix for empty input string.
16638
16639 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16640
16641         * LyXAction.C (init): change description of LFUN_FIGURE to
16642         "Insert Graphics"
16643
16644 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16645
16646         * LaTeX.C: add using directive
16647
16648 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16649
16650         * MenuBackend.C (expand): Fix the sorting of the formats.
16651
16652 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16653
16654         * lyx_main.C: tiny error message fix
16655
16656 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16657
16658         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16659         calling fl_initialize(). This fixes the problem with ',' as
16660         decimal separator in text files.
16661
16662 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16663
16664         * trans.C (process): Fix the keymap bug.
16665
16666 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16667
16668         * LaTeX.C (scanAuxFiles): New method. Provides support for
16669         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16670         (scanLogFile) Scan for "run BibTeX" messages.
16671
16672         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16673         OT1 font encoding. Also, load the aecompl package if the ae
16674         package is loaded.
16675
16676         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16677
16678 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16679
16680         * texrow.C (increasePos): turn two error messages into debug
16681         messages.
16682
16683 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16684
16685         * LaTeX.C (scanAux): Handle the \@input macro.
16686         (runBibTeX): Use scanAux().
16687
16688         * language.C (latex_options_): New field.
16689
16690         * LaTeXFeatures.C (getMacros): Add language macros.
16691
16692         * buffer.C (makeLaTeXFile): Small fix.
16693
16694 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16695
16696         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16697
16698         * text2.C: add a using directive.
16699
16700 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16701
16702         * BufferView2.C:
16703         * lyx_gui_misc.h:
16704         * lyxfr1.C:
16705         * lyxfunc.C: kill LyXBell.
16706
16707 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16708
16709         * text.C (IsBoundary): Remove the error message
16710
16711         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16712
16713         * lyxrc.C (setDefaults): Correct initialization value for
16714         font_norm_type.
16715
16716 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16717
16718         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16719         gotoError().
16720
16721         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16722         and GotoNextNote().
16723
16724         * src/LyXAction.C: Added reference-next.
16725
16726         * text.C (InsertChar): Use contains instead of strchr.
16727
16728         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16729
16730 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16731
16732         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16733         alignment commands (when needed).
16734
16735         * text.C (InsertChar): Add ':' to number separator chars.